[ cinepaint-Bugs-1650409 ] Check return codes everywhere

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.video.cinepaint.devel
Message-ID <[email protected]>
Bugs item #1650409, was opened at 2007-02-02 10:46
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542706&aid=1650409&group_id=75029

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Markus Elfring (elfring)
Assigned to: Nobody/Anonymous (nobody)
Summary: Check return codes everywhere

Initial Comment:
Some checks for return codes are missing.

Examples:
1. Would you like to add more error handling for return values from "sscanf" like in the function "xpm_loader"?
http://cinepaint.cvs.sourceforge.net/cinepaint/cinepaint-project/CineBrush/file.cpp?revision=1.1&view=markup

2. How do you think about to add safety checks for calls of "fgets" like in the function "splash_logo_load_size"?
http://cinepaint.cvs.sourceforge.net/cinepaint/cinepaint-project/cinepaint/app/app_procs.c?revision=1.10&view=markup

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542706&aid=1650409&group_id=75029

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.