cppcheck analysis of fltk1.1_1.1.10-3.dsc
- ./fluid/Fl_Widget_Type.cxx:373 [error] - Common realloc mistake: "oldlabel" nulled but not freed upon failure
- ./fluid/code.cxx:294 [error] - Possible null pointer dereference: q - otherwise it is redundant to check if q is null at line 300
- ./fluid/code.cxx:307 [error] - Possible null pointer dereference: q - otherwise it is redundant to check if q is null at line 313
- ./fluid/fluid.cxx:1706 [error] - Possible null pointer dereference: widgetbin_panel
- ./fluid/fluid.cxx:1723 [error] - Possible null pointer dereference: sourceview_panel
- ./jpeg/jerror.c:104 [error] - Uninitialized variable: buffer
- ./jpeg/jmemmgr.c:1067 [error] - Possible null pointer dereference: mem
- ./jpeg/jmemmgr.c:1068 [error] - Possible null pointer dereference: mem
- ./jpeg/jmemmgr.c:1069 [error] - Possible null pointer dereference: mem
- ./jpeg/jmemmgr.c:1070 [error] - Possible null pointer dereference: mem
- ./jpeg/jmemmgr.c:1071 [error] - Possible null pointer dereference: mem
- ./jpeg/jmemmgr.c:1072 [error] - Possible null pointer dereference: mem
- ./jpeg/jmemmgr.c:1073 [error] - Possible null pointer dereference: mem
- ./jpeg/jmemmgr.c:1074 [error] - Possible null pointer dereference: mem
- ./jpeg/jmemmgr.c:1075 [error] - Possible null pointer dereference: mem
- ./jpeg/jmemmgr.c:1076 [error] - Possible null pointer dereference: mem
- ./jpeg/jmemmgr.c:1077 [error] - Possible null pointer dereference: mem
- ./jpeg/jmemmgr.c:1080 [error] - Possible null pointer dereference: mem
- ./jpeg/jmemmgr.c:1083 [error] - Possible null pointer dereference: mem
- ./jpeg/jmemmgr.c:1086 [error] - Possible null pointer dereference: mem
- ./jpeg/jmemmgr.c:1087 [error] - Possible null pointer dereference: mem
- ./jpeg/jmemmgr.c:1089 [error] - Possible null pointer dereference: mem
- ./jpeg/jmemmgr.c:1090 [error] - Possible null pointer dereference: mem
- ./jpeg/jmemmgr.c:1092 [error] - Possible null pointer dereference: mem
- ./src/Fl_win32.cxx:175 [error] - Common realloc mistake: "fd" nulled but not freed upon failure
- ./src/Fl_Browser.cxx:99 [error] - Possible null pointer dereference: cache
- ./src/Fl_Browser.cxx:101 [error] - Possible null pointer dereference: cache
- ./src/Fl_Chart.cxx:316 [error] - Common realloc mistake: "entries" nulled but not freed upon failure
- ./src/Fl_Chart.cxx:340 [error] - Common realloc mistake: "entries" nulled but not freed upon failure
- ./src/Fl_GIF_Image.cxx:363 [error] - Memory leak: p
- ./src/Fl_Gl_Choice.cxx:292 [error] - Common realloc mistake: "context_list" nulled but not freed upon failure
- ./src/Fl_Help_View.cxx:390 [error] - Common realloc mistake: "targets_" nulled but not freed upon failure
- ./src/Fl_Input_.cxx:544 [error] - Common realloc mistake: "undobuffer" nulled but not freed upon failure
- ./src/Fl_PNG_Image.cxx:81 [error] - Resource leak: fp
- ./src/Fl_Preferences.cxx:970 [error] - Common realloc mistake: "entry" nulled but not freed upon failure
- ./src/Fl_Preferences.cxx:1013 [error] - Common realloc mistake: "dst" nulled but not freed upon failure
- ./src/Fl_Text_Buffer.cxx:87 [error] - Common realloc mistake: "undobuffer" nulled but not freed upon failure
- ./src/Fl_x.cxx:1252 [error] - Memory leak: xp
- ./src/cmap.cxx:123 [error] - Passing value 0 to log() leads to undefined result
- ./src/cmap.cxx:125 [error] - Passing value 0 to log() leads to undefined result
- ./src/cmap.cxx:127 [error] - Passing value 0 to log() leads to undefined result
- ./src/filename_list.cxx:94 [error] - Common realloc mistake: "de" nulled but not freed upon failure
- ./src/fl_draw_pixmap.cxx:193 [error] - Null pointer dereference
- ./src/fl_draw_pixmap.cxx:330 [error] - Mismatching allocation and deallocation: array
- ./src/fl_vertex.cxx:132 [error] - Common realloc mistake: "p" nulled but not freed upon failure
- ./test/colbrowser.cxx:204 [error] - Invalid number of character (() when these macros are defined: 'FL_LINEAR'.
- ./test/color_chooser.cxx:140 [error] - Possible null pointer dereference: fl_visual
- ./test/demo.cxx:349 [error] - Buffer overrun possible for long cmd-line args
- ./test/editor.cxx:790 [error] - Memory leak: window
- ./test/fromdos.c:43 [error] - Resource leak: in
- ./zlib/gzio.c:149 [error] - Memory leak: s.path
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, 10 Jan 2011 06:58:03 +0000, based on results by cppcheck 1.46