[Bug 14788] New: Check return codes everywhere

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Aug 7 10:27:42 CDT 2008


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 at winehq.org
        ReportedBy: Markus.Elfring at 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=aa7d72b84b8319fbefd2f4ce516690e7e77cec25;hb=HEAD

  => build_new_path
 
http://source.winehq.org/git/wine.git/?a=blob;f=loader/freebsd.c;h=0d0eb5767cbc35632d82a340b192037268770e08;hb=HEAD

  => pdb_jg_read
 
http://source.winehq.org/git/wine.git/?a=blob;f=tools/winedump/pdb.c;h=1d9fce024e4a039ecc9823213205cab9f463f00d;hb=HEAD

- strdup
  => build
 
http://source.winehq.org/git/wine.git/?a=blob;f=tools/winegcc/winegcc.c;h=113819d26ccf5371564cce58fd76e346d3a822c4;hb=HEAD

- fprintf
  => writeHeader
 
http://source.winehq.org/git/wine.git/?a=blob;f=dlls/wineps.drv/afm2c.c;h=3f8b0ce1d75ac39f9e5d87a878a4592e323548fa;hb=HEAD

- fputs
  => REGPROC_export_string
 
http://source.winehq.org/git/wine.git?a=blob;f=programs/regedit/regproc.c;h=13bfc17c90c5dc49463625ff36f2458dcc89f75c;hb=HEAD

- pthread_mutex_lock, pthread_mutex_unlock
  => __pthread_atfork
 
http://source.winehq.org/git/wine.git/?a=blob;f=loader/kthread.c;h=cc51cc060389b783cbb251b8ec3d6ec37dd805b0;hb=HEAD

Would you like to add more error handling for corresponding return values?


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list