cppcheck analysis of afterstep_2.2.11-2.dsc
- ./libAfterBase/audit.c:190 [error] - Null pointer dereference
- ./libAfterBase/audit.c:226 [error] - Null pointer dereference
- ./libAfterBase/audit.c:245 [error] - Null pointer dereference
- ./libAfterBase/audit.c:285 [error] - Null pointer dereference
- ./libAfterBase/audit.c:327 [error] - Null pointer dereference
- ./libAfterBase/audit.c:334 [error] - Null pointer dereference
- ./libAfterBase/audit.c:361 [error] - Null pointer dereference
- ./libAfterBase/audit.c:378 [error] - Null pointer dereference
- ./libAfterBase/audit.c:409 [error] - Null pointer dereference
- ./libAfterBase/audit.c:422 [error] - Null pointer dereference
- ./libAfterBase/audit.c:450 [error] - Null pointer dereference
- ./libAfterBase/audit.c:474 [error] - Null pointer dereference
- ./libAfterBase/audit.c:487 [error] - Null pointer dereference
- ./libAfterBase/safemalloc.c:183 [error] - Null pointer dereference
- ./libAfterBase/safemalloc.c:166 [error] - Null pointer dereference
- ./libAfterImage/apps/ascompose.c:1198 [error] - Common realloc mistake: "complete" nulled but not freed upon failure
- ./libAfterImage/asfont.c:1097 [error] - Common realloc mistake: "glyph_scaling_buf" nulled but not freed upon failure
- ./libAfterImage/asfont.c:1126 [error] - Common realloc mistake: "glyph_compress_buf" nulled but not freed upon failure
- ./libAfterImage/asimage.c:101 [error] - Common realloc mistake: "__as_compression_buffer" nulled but not freed upon failure
- ./libAfterImage/asimage.c:1290 [error] - Common realloc mistake: "rects" nulled but not freed upon failure
- ./libAfterImage/asimage.c:1309 [error] - Common realloc mistake: "rects" nulled but not freed upon failure
- ./libAfterImage/asimage.c:1343 [error] - Common realloc mistake: "rects" nulled but not freed upon failure
- ./libAfterImage/asimage.c:1384 [error] - Common realloc mistake: "rects" nulled but not freed upon failure
- ./libAfterImage/asstorage.c:1528 [error] - Null pointer dereference
- ./libAfterImage/asstorage.c:1563 [error] - Null pointer dereference
- ./libAfterImage/asvisual.c:1141 [error] - Common realloc mistake: "scratch_ximage_data" nulled but not freed upon failure
- ./libAfterImage/draw.c:706 [error] - Common realloc mistake: "bstack" nulled but not freed upon failure
- ./libAfterImage/draw.c:739 [error] - Common realloc mistake: "bstack" nulled but not freed upon failure
- ./libAfterImage/draw.c:745 [error] - Common realloc mistake: "bstack" nulled but not freed upon failure
- ./libAfterImage/draw.c:786 [error] - Common realloc mistake: "sstack" nulled but not freed upon failure
- ./libAfterImage/draw.c:816 [error] - Common realloc mistake: "sstack" nulled but not freed upon failure
- ./libAfterImage/draw.c:838 [error] - Common realloc mistake: "sstack" nulled but not freed upon failure
- ./libAfterImage/imencdec.c:317 [error] - Null pointer dereference
- ./libAfterImage/libjpeg/jerror.c:103 [error] - Uninitialized variable: buffer
- ./libAfterImage/libjpeg/jmemmgr.c:1067 [error] - Possible null pointer dereference: mem
- ./libAfterImage/libjpeg/jmemmgr.c:1068 [error] - Possible null pointer dereference: mem
- ./libAfterImage/libjpeg/jmemmgr.c:1069 [error] - Possible null pointer dereference: mem
- ./libAfterImage/libjpeg/jmemmgr.c:1070 [error] - Possible null pointer dereference: mem
- ./libAfterImage/libjpeg/jmemmgr.c:1071 [error] - Possible null pointer dereference: mem
- ./libAfterImage/libjpeg/jmemmgr.c:1072 [error] - Possible null pointer dereference: mem
- ./libAfterImage/libjpeg/jmemmgr.c:1073 [error] - Possible null pointer dereference: mem
- ./libAfterImage/libjpeg/jmemmgr.c:1074 [error] - Possible null pointer dereference: mem
- ./libAfterImage/libjpeg/jmemmgr.c:1075 [error] - Possible null pointer dereference: mem
- ./libAfterImage/libjpeg/jmemmgr.c:1076 [error] - Possible null pointer dereference: mem
- ./libAfterImage/libjpeg/jmemmgr.c:1077 [error] - Possible null pointer dereference: mem
- ./libAfterImage/libjpeg/jmemmgr.c:1080 [error] - Possible null pointer dereference: mem
- ./libAfterImage/libjpeg/jmemmgr.c:1083 [error] - Possible null pointer dereference: mem
- ./libAfterImage/libjpeg/jmemmgr.c:1086 [error] - Possible null pointer dereference: mem
- ./libAfterImage/libjpeg/jmemmgr.c:1087 [error] - Possible null pointer dereference: mem
- ./libAfterImage/libjpeg/jmemmgr.c:1089 [error] - Possible null pointer dereference: mem
- ./libAfterImage/libjpeg/jmemmgr.c:1090 [error] - Possible null pointer dereference: mem
- ./libAfterImage/libjpeg/jmemmgr.c:1092 [error] - Possible null pointer dereference: mem
- ./libAfterImage/zlib/gzio.c:149 [error] - Memory leak: s.path
- ./libAfterStep/canvas.c:649 [error] - Uninitialized variable: rects
- ./libAfterStep/clientprops.c:1360 [error] - Common realloc mistake: "states" nulled but not freed upon failure
- ./libAfterStep/clientprops.c:1443 [error] - Common realloc mistake: "list" nulled but not freed upon failure
- ./src/Form/Form.c:1256 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/Form/Form.c:1257 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/Form/Form.c:1295 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/Form/Form.c:1296 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/Form/Form.c:1311 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/Form/Form.c:1324 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/Form/Form.c:1331 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/Form/Form.c:1332 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/Form/Form.c:1343 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/Form/Form.c:1364 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/Gnome/Gnome.c:129 [error] - Possible null pointer dereference: tmp2
- ./src/Gnome/Gnome.c:152 [error] - Possible null pointer dereference: tmp2
- ./src/Gnome/Gnome.c:1170 [error] - Common realloc mistake: "desk_names" nulled but not freed upon failure
- ./src/Gnome/Gnome.c:1207 [error] - Common realloc mistake: "desk_names" nulled but not freed upon failure
- ./src/Script/Instructions.c:668 [error] - Common realloc mistake: "msg" nulled but not freed upon failure
- ./src/Script/Instructions.c:987 [error] - Common realloc mistake: "str" nulled but not freed upon failure
- ./src/Script/Instructions.c:550 [error] - Memory leak: arg
- ./src/Script/Instructions.c:1254 [error] - Undefined behaviour: buf is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/Script/Instructions.c:1255 [error] - Undefined behaviour: buf is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/Script/Instructions.c:1256 [error] - Undefined behaviour: buf is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/Script/Script.c:649 [error] - Common realloc mistake: "Scrapt" nulled but not freed upon failure
- ./src/Script/Widgets/TextField.c:218 [error] - Common realloc mistake: "Scrapt" nulled but not freed upon failure
- ./src/Script/Widgets/TextField.c:244 [error] - Common realloc mistake: "Scrapt" nulled but not freed upon failure
- ./src/Script/Widgets/TextField.c:322 [error] - Common realloc mistake: "Scrapt" nulled but not freed upon failure
- ./src/Script/y.tab.c:150 [error] - Common realloc mistake: "TabCObj" nulled but not freed upon failure
- ./src/Script/y.tab.c:211 [error] - Common realloc mistake: "Temp" nulled but not freed upon failure
- ./src/Script/y.tab.c:378 [error] - Common realloc mistake: "l" nulled but not freed upon failure
- ./src/Sound2/Sound.c:211 [error] - Memory leak: headBuff
- ./src/Sound2/Sound.c:301 [error] - Resource leak: SNDFile
- ./src/afterstep/aswindow.c:320 [error] - Buffer access out-of-bounds
- ./src/afterstep/aswindow.c:324 [error] - Buffer access out-of-bounds
- ./src/afterstep/cover.c:463 [error] - Uninitialized variable: pixel
- ./src/afterstep/decorations.c:717 [error] - Common realloc mistake: "str" nulled but not freed upon failure
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Sat, 12 Feb 2011 06:58:02 +0000, based on results by cppcheck 1.46