http://bugs.winehq.org/show_bug.cgi?id=14788
Summary: Check return codes everywhere Product: Wine Version: CVS/GIT Platform: All OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: Markus.Elfring@web.de
Some source files contain unchecked function calls.
Examples: - malloc => main
http://source.winehq.org/git/wine.git/?a=blob;f=tools/fnt2fon.c;h=aa7d72b84b...
=> build_new_path
http://source.winehq.org/git/wine.git/?a=blob;f=loader/freebsd.c;h=0d0eb5767...
=> pdb_jg_read
http://source.winehq.org/git/wine.git/?a=blob;f=tools/winedump/pdb.c;h=1d9fc...
- strdup => build
http://source.winehq.org/git/wine.git/?a=blob;f=tools/winegcc/winegcc.c;h=11...
- fprintf => writeHeader
http://source.winehq.org/git/wine.git/?a=blob;f=dlls/wineps.drv/afm2c.c;h=3f...
- fputs => REGPROC_export_string
http://source.winehq.org/git/wine.git?a=blob;f=programs/regedit/regproc.c;h=...
- pthread_mutex_lock, pthread_mutex_unlock => __pthread_atfork
http://source.winehq.org/git/wine.git/?a=blob;f=loader/kthread.c;h=cc51cc060...
Would you like to add more error handling for corresponding return values?