11342 gss: NULL pointer errors

Review Request #2078 - Created July 6, 2019 and submitted

Information
Toomas Soome
illumos-gate
11342
61d6b25...
Reviewers
general
gssd_clnt_stubs.c: In function 'kgss_acquire_cred_wrapped':
gssd_clnt_stubs.c:165:24: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
    *output_cred_handle = NULL;
                        ^
gssd_clnt_stubs.c: In function 'kgss_release_cred_wrapped':
gssd_clnt_stubs.c:512:17: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
    *cred_handle = NULL;
                 ^
gssd_clnt_stubs.c:519:16: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
   *cred_handle = NULL;
                ^
gssd_clnt_stubs.c: In function 'kgss_delete_sec_context_wrapped':
gssd_clnt_stubs.c:1183:20: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
    *context_handle = NULL;
                    ^
gssd_clnt_stubs.c:1196:19: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
   *context_handle = NULL;
                   ^
gssd_clnt_stubs.c: In function 'kgss_export_sec_context_wrapped':
gssd_clnt_stubs.c:2323:20: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
    *context_handle = NULL;
                    ^
gssd_clnt_stubs.c:2336:19: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
   *context_handle = NULL;
                   ^
gssdtest.c: In function '_gssd_name_to_unix_cred':
gssdtest.c:1933:43: error: comparison between pointer and integer [-Werror]
  if (mechType == NULL || mechType->length == NULL) {
                                           ^~
cc1: all warnings being treated as errors

  
Garrett D'Amore
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...