unchecked function return value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmng (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
At libmng_
Return value of a function 'mng_reset_
The solution is to capture return value of 'mng_reset_
if (iRetcode)
return;
At libmng_
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.