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

Hello,

The patches 1 to 6 fixes the code in WRaster library that are related
to 8 bugs reported by Coverity:

 #50160: Resource leak
 #50203: Unintended sign extension
 #50204: Unintended sign extension
 #50205: Unintended sign extension
 #50206: Unintended sign extension
 #50223: Untrusted value as argument
 #50245: Uninitialized pointer read
 #50258: Unused pointer value

Patch 7 is a code behaviour improvment to help fix another bug reported
by coverity;

Patchs 8 to 11 try to make the code better/safer.

Regards,
Christophe.


 WPrefs.app/Appearance.c |  6 ++--
 src/workspace.c         |  4 +--
 util/wmsetbg.c          |  9 ++---
 wrlib/Makefile.am       |  2 ++
 wrlib/context.c         |  4 +--
 wrlib/convert.c         | 18 +++++-----
 wrlib/draw.c            | 27 ++++++++-------
 wrlib/gradient.c        |  4 +--
 wrlib/load.c            | 43 ++++++++++++++----------
 wrlib/load_jpeg.c       |  1 +
 wrlib/load_magick.c     |  2 +-
 wrlib/scale.c           |  3 +-
 wrlib/scale.h           | 30 +++++++++++++++++
 wrlib/wraster.h         | 88 +++++++++++++++++++++++--------------------------
 wrlib/xutil.c           |  9 +++--
 wrlib/xutil.h           | 29 ++++++++++++++++
 16 files changed, 178 insertions(+), 101 deletions(-)
 create mode 100644 wrlib/scale.h
 create mode 100644 wrlib/xutil.h

-- 
1.9.2


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

Reply via email to