cppcheck analysis of prboom_2.5.0+dfsg1-6.dsc
- ./src/MAC/i_sound.c:115 [error] - Common realloc mistake: "music_tmp" nulled but not freed upon failure
- ./src/SDL/SDL_win32_main.c:391 [error] - Resource leak: newfp
- ./src/SDL/SDL_win32_main.c:354 [error] - Resource leak: newfp
- ./src/am_map.c:331 [error] - Common realloc mistake: "markpoints" nulled but not freed upon failure
- ./src/d_deh.c:2622 [error] - Common realloc mistake: "holdstring" nulled but not freed upon failure
- ./src/d_main.c:1411 [error] - Buffer access out-of-bounds: wad_files
- ./src/d_main.c:1412 [error] - Array 'deh_files[3]' index -3 out of bounds
- ./src/d_main.c:568 [error] - Common realloc mistake: "wadfiles" nulled but not freed upon failure
- ./src/d_main.c:582 [error] - Common realloc mistake: "wadfiles" nulled but not freed upon failure
- ./src/d_main.c:570 [error] - Allocation with malloc, strcpy doesn't release it.
- ./src/d_main.c:575 [error] - Allocation with malloc, strcpy doesn't release it.
- ./src/d_server.c:418 [error] - Common realloc mistake: "wadname" nulled but not freed upon failure
- ./src/d_server.c:419 [error] - Common realloc mistake: "wadget" nulled but not freed upon failure
- ./src/g_game.c:1097 [error] - Common realloc mistake: "bodyque" nulled but not freed upon failure
- ./src/g_game.c:1740 [error] - Common realloc mistake: "savebuffer" nulled but not freed upon failure
- ./src/mmus2mid.c:785 [error] - Buffer overrun possible for long cmd-line args
- ./src/p_enemy.c:2326 [error] - Common realloc mistake: "braintargets" nulled but not freed upon failure
- ./src/p_map.c:463 [error] - Common realloc mistake: "spechit" nulled but not freed upon failure
- ./src/p_mobj.c:971 [error] - Uninitialized variable: hash
- ./src/p_mobj.c:1205 [error] - Common realloc mistake: "deathmatchstarts" nulled but not freed upon failure
- ./src/p_saveg.c:1023 [error] - Common realloc mistake: "markpoints" nulled but not freed upon failure
- ./src/p_switch.c:84 [error] - Common realloc mistake: "switchlist" nulled but not freed upon failure
- ./src/r_bsp.c:365 [error] - Common realloc mistake: "drawsegs" nulled but not freed upon failure
- ./src/r_fps.c:245 [error] - Common realloc mistake: "curipos" nulled but not freed upon failure
- ./src/r_things.c:302 [error] - Common realloc mistake: "vissprites" 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 Mon, 20 Dec 2010 21:17:57 +0000, based on results by cppcheck 1.46