Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0, 3.2.11, 3.4.0-rc3
    • Labels:
      None
    • Sprint:
      Storage 2016-10-31

      Description

      From coverity;

      >>>     CID 1365198:    (REVERSE_INULL)
      >>>     Null-checking "zs" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
      374     err:    if (zs != NULL &&
      375                 (tret = deflateEnd(zs)) != Z_OK && tret != Z_DATA_ERROR)
      376                     ret = zlib_error(compressor, session, "deflateEnd", tret);
      377             if (last_zs != NULL &&
      378                 (tret = deflateEnd(last_zs)) != Z_OK && tret != Z_DATA_ERROR)
      379                     ret = zlib_error(compressor, session, "deflateEnd", tret);
      /ext/compressors/zlib/zlib_compress.c: 374 in zlib_compress_raw()
      368                                 compressor, session, "deflate end block", ret);
      369                             goto err;
      370                     }
      371                     ret = 0;
      372             }
      373
      

        Attachments

          Activity

            People

            • Assignee:
              david.hows David Hows (Inactive)
              Reporter:
              david.hows David Hows (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: