10657 ksslf: NULL pointer errors

Review Request #1630 - Created April 1, 2019 and submitted

Information
Toomas Soome
illumos-gate
10657
2d10c9f...
Reviewers
general
../../common/inet/kssl/ksslfilter.c: In function 'kssl_input_callback':
../../common/inet/kssl/ksslfilter.c:566:18: error: comparison between pointer and integer [-Werror]
      TQ_NOSLEEP) == NULL) {
                  ^~

../../common/inet/kssl/ksslapi.c: In function 'kssl_handle_mblk':
../../common/inet/kssl/ksslapi.c:557:12: error: incompatible types when returning type 'void *' but 'kssl_cmd_t {aka enum <anonymous>}' was expected
     return (NULL);
            ^

../../common/inet/kssl/ksslrec.c: In function 'kssl_free_context':
../../common/inet/kssl/ksslrec.c:2491:21: error: comparison between pointer and integer [-Werror]
   if (ssl->job.kjob != NULL) {
                     ^~
../../common/inet/kssl/ksslrec.c:2503:22: error: comparison between pointer and integer [-Werror]
    if (ssl->job.kjob != NULL) {
                      ^~
../../common/inet/kssl/ksslrec.c:2512:25: error: comparison between pointer and integer [-Werror]
  } while (ssl->job.kjob != NULL);
                         ^~
cc1: all warnings being treated as errors

  

Issues

  • 0
  • 2
  • 0
  • 2
Description From Last Updated
Gergő Mihály Doma
Toomas Soome
Robert Mustacchi
Toomas Soome
Robert Mustacchi
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...