From: Christophe CURIS <christophe.cu...@free.fr> Hello,
This serie of patch fixes the code for the util directory, related to 14 bugs reported by Coverity, plus 3 extra patchs not from Coverity but still related to code improvement: #50076: Dereference after null check #50077: Dereference after null check #50094: Nesting level does not match indentation #50151: Resource leak #50152: Resource leak #50161: Resource leak #50164: Resource leak #50166: Resource leak #50167: Resource leak #50169: Resource leak #50198: Dereference before null check #50219: Copy into fixed size buffer #50220: Unbounded source buffer #50224: Untrusted value as argument This closes the first pass on Coverity defect list, which is based on an upload of the sources that is now getting a bit old (there have been approximately 160 commits since then). I will try to submit a new snapshot of #next "soon". For the record, the status today is: - Coverity reported 243 defects - 93 of them now are marked "fix submitted" - 16 have been marked as "false positive" so far Christophe. WINGs/wcolorpanel.c | 3 --- util/getstyle.c | 19 +++++++++++-------- util/setstyle.c | 2 ++ util/wmgenmenu.c | 4 +++- util/wmmenugen.c | 16 +++++++++------- util/wmmenugen_misc.c | 45 +++++++++++++++++++++++---------------------- util/wmsetbg.c | 38 +++++++++++++++++++++++++++----------- util/wxcopy.c | 5 ++++- 8 files changed, 79 insertions(+), 53 deletions(-) -- 1.9.2 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.