From: Christophe CURIS <christophe.cu...@free.fr>

Hello,

This serie of patch fixes the code in WUtil that are related to 9 bugs
reported by Coverity. It does not fix everything, there are 5 more
bugs which will probably be ignored (Time of check versus Time of
use), and 2 that will require a little bit of work to get things
right (Resource leaks).

 #50070: Dereference after NULL check
 #50141: Resource leak
 #50244: Uninitialized scalar variable
 #50074: Dereference after NULL check
 #50138: Resource leak
 #50208: Sizeof not portable
 #50209: Sizeof not portable
 #50191: Dereference before NULL check
 #50226: Use of untrusted string value

Christophe.


 WINGs/WINGs/WUtil.h  | 33 +++++++--------------------------
 WINGs/findfile.c     | 38 +++++++++++++++++++++++++-------------
 WINGs/memory.c       | 10 +++++++++-
 WINGs/string.c       |  7 +++----
 WINGs/userdefaults.c |  7 +++++--
 configure.ac         |  1 +
 m4/windowmaker.m4    | 25 +++++++++++++++++++++++++
 7 files changed, 75 insertions(+), 46 deletions(-)

-- 
1.9.2


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to