[RTEMS Project] #4431: record-filter-zlib.cc: Unchecked return value from library error spotted by Coverity

RTEMS trac trac at rtems.org
Wed May 19 14:45:26 UTC 2021


#4431: record-filter-zlib.cc: Unchecked return value from library error spotted by
Coverity
------------------------+----------------------
  Reporter:  Ryan Long  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:  6.1
 Component:  tool       |    Version:  6
  Severity:  normal     |   Keywords:  Coverity
Blocked By:             |   Blocking:
------------------------+----------------------
 CID 1503013: Unchecked return value from library in ZlibFilter().
 {{{
   CID 1503013 (#1 of 1): Unchecked return value from library
 (CHECKED_RETURN)1. check_return: Calling inflateInit_(&this->stream_,
 "1.2.7", 112) without checking return value. This library function may
 fail and return an error code.
 38  inflateInit(&stream_);
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4431>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list