[Bug 14788] Check return codes everywhere
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Sep 14 10:59:18 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=14788
--- Comment #22 from Vitaliy Margolen <vitaliy at kievinfo.com> 2008-09-14 10:59:18 ---
(In reply to comment #19)
> Would you like to consider any updates for remaining unchecked function calls?
> - malloc, strdup
> - (f)printf, fputs, fputc, ftruncate, unlink
> - pthread_...
>
As far as malloc, strdup - they should not be used in Wine itself:
http://wiki.winehq.org/ReplaceMalloc
For other function some places might benefit from proper error checking for
these functions. However as I indicate before, each error have to be handled
properly not just "exit(errno);".
Of course this is relevant to Wine itself and it's tools. Adding these checks
to tests is counterproductive.
--
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