[Kde-imaging] New Defects reported by Coverity Scan for digiKam
scan-admin at coverity.com
scan-admin at coverity.com
Tue May 7 23:11:25 UTC 2013
Hi,
Please find the latest report on new defect(s) introduced to digiKam found with Coverity SCAN
Defect(s) Reported-by: Coverity Scan
** CID 1019302: Unchecked return value from library (CHECKED_RETURN)
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/src/libraw_datastream.cpp: 290
http://scan5.coverity.com:8080//sourcebrowser.htm?projectId=10358#mergedDefectId=1019302
________________________________________________________________________
CID 1019302: Unchecked return value from library (CHECKED_RETURN)
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/src/libraw_datastream.cpp: 290 ( check_return)
287 }
288 if(jas_file)
289 {
>>> CID 1019302: Unchecked return value from library (CHECKED_RETURN)
>>> Calling function "fseek(this->jas_file, this->tell(), 0)" without checking return value. This library function may fail and return an error code.
290 fseek(jas_file,tell(),SEEK_SET);
291 j_decompress_ptr cinfo = (j_decompress_ptr) jpegdata;
292 jpeg_stdio_src(cinfo,jas_file);
293 return 0; // OK
294 }
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/src/libraw_datastream.cpp: 290 ( unchecked_value)
287 }
288 if(jas_file)
289 {
>>> No check of the return value of "fseek(this->jas_file, this->tell(), 0)".
290 fseek(jas_file,tell(),SEEK_SET);
291 j_decompress_ptr cinfo = (j_decompress_ptr) jpegdata;
292 jpeg_stdio_src(cinfo,jas_file);
293 return 0; // OK
294 }
________________________________________________________________________
To view the defects in Coverity Scan visit, http://scan5.coverity.com:8080
If you don't have a username, you can request one by emailing: scan-admin at coverity.com
To unsubscribe from the email notification for new defects, http://scan.coverity.com/email_unsubscribe.html
If you are project owner, you can subscribe your team member by accessing http://scan.coverity.com/email_subscription.html
More information about the Kde-imaging
mailing list