cppcheck analysis of imlib2_1.4.2-8.dsc
- ./src/lib/dynamic_filters.c:172 [error] - Common realloc mistake: "s" nulled but not freed upon failure
- ./src/lib/file.c:273 [error] - Resource leak: dirp
- ./src/lib/font_load.c:381 [error] - Common realloc mistake: "fpath" nulled but not freed upon failure
- ./src/lib/font_load.c:400 [error] - Common realloc mistake: "fpath" nulled but not freed upon failure
- ./src/lib/font_load.c:465 [error] - Common realloc mistake: "list" nulled but not freed upon failure
- ./src/lib/grad.c:289 [error] - Memory leak: hlut
- ./src/lib/grad.c:289 [error] - Memory leak: vlut
- ./src/lib/grad.c:482 [error] - Memory leak: hlut
- ./src/lib/grad.c:482 [error] - Memory leak: vlut
- ./src/lib/image.c:618 [error] - Common realloc mistake: "s" nulled but not freed upon failure
- ./src/lib/image.c:671 [error] - Common realloc mistake: "ret" nulled but not freed upon failure
- ./src/lib/rgbadraw.c:258 [error] - Memory leak: data
- ./src/lib/script.c:75 [error] - Memory leak: rstr
- ./src/lib/ximage.c:134 [error] - Common realloc mistake: "list_xim" nulled but not freed upon failure
- ./src/lib/ximage.c:136 [error] - Common realloc mistake: "list_si" nulled but not freed upon failure
- ./src/lib/ximage.c:139 [error] - Common realloc mistake: "list_used" nulled but not freed upon failure
- ./src/lib/ximage.c:140 [error] - Common realloc mistake: "list_d" nulled but not freed upon failure
- ./src/modules/loaders/loader_argb.c:121 [error] - Memory leak: buf
- ./src/modules/loaders/loader_bmp.c:778 [error] - Uninitialized variable: buffer_end_minus_3
- ./src/modules/loaders/loader_xpm.c:658 [error] - Common realloc mistake: "line" nulled but not freed upon failure
- ./src/modules/loaders/loader_xpm.c:157 [error] - Resource leak: f
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:14:53 +0000, based on results by cppcheck 1.46