unchecked function return value

Bug #1501265 reported by Garima
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmng (Ubuntu)
New
Undecided
Unassigned

Bug Description

At libmng_display.c:3256
Return value of a function 'mng_reset_object_details' is not captured in other variable and is not checked.

The solution is to capture return value of 'mng_reset_object_details' in iRetcode
if (iRetcode)
  return;

At libmng_display.c:3540
Return value of a function 'load_bkgdlayer'is not captured in other variable and is not checked.

The solution is to capture return value of 'load_bkgdlayer'in iRetcode
if (iRetcode)
  return;

At libmng_hlapi.c:1434
Return value of a function 'mng_process_eof' is not captured in other variable and is not checked.

The solution is to capture return value of 'mng_process_eof' in iRetcode
if (iRetcode)
  return;

For detail information please check the attached patch file.

Revision history for this message
Garima (garima-g) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.