cppcheck Sept 18
Joris Huizer
joris_huizer at yahoo.com
Sat Sep 19 05:59:07 CDT 2009
[/home/cahrendt/wine-git/dlls/ntdll/server.c:802]: (error) Resource leak: fd
[/home/cahrendt/wine-git/dlls/ntdll/server.c:882]: (error) Resource
leak: fd_cwd
These two are false positives, as the process ends (calling exit(1)
[/home/cahrendt/wine-git/dlls/rpcrt4/tests/server.c:1189]: (possible
error) Array index out of bounds
This one is a false positive, it uses FIELD_OFFSET(cs_t, ca[5]),
and it found an array:
int ca[5];
[/home/cahrendt/wine-git/dlls/wineps.drv/init.c:270]: (error) Possible
null pointer dereference: dmW - otherwise it is redundant to check if
dmW is null at line 272
That is a bug, sent a patch
HTH,
Joris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20090919/13ff16ba/attachment.htm>
More information about the wine-devel
mailing list