cppcheck analysis of erlang_12.b.5-dfsg-2.dsc
- ./erts/emulator/drivers/unix/unix_efile.c:785 [error] - Resource leak: fd
- ./erts/emulator/sys/vxworks/sys.c:2130 [error] - Buffer access out-of-bounds: pipeRead
- ./erts/emulator/sys/vxworks/sys.c:2132 [error] - Buffer access out-of-bounds: pipeWrite
- ./erts/epmd/src/epmd.c:180 [error] - Common realloc mistake: "tmp" nulled but not freed upon failure
- ./erts/epmd/src/epmd.c:187 [error] - Common realloc mistake: "argv" nulled but not freed upon failure
- ./erts/etc/common/inet_gethost.c:1217 [error] - Possible null pointer dereference: buff_size
- ./erts/etc/ose/erl_utils/startefs.c:140 [error] - Resource leak: fd0
- ./erts/etc/ose/erl_utils/startefs.c:140 [error] - Resource leak: fd1
- ./erts/etc/ose/erl_utils/startefs.c:140 [error] - Resource leak: fd2
- ./erts/etc/ose/erl_utils/startshell.c:110 [error] - Resource leak: fd0
- ./erts/etc/ose/erl_utils/startshell.c:110 [error] - Resource leak: fd1
- ./erts/etc/ose/erl_utils/startshell.c:110 [error] - Resource leak: fd2
- ./erts/etc/unix/wd_keeper.c:161 [error] - Resource leak: vme
- ./erts/etc/win32/erl.c:41 [error] - Common realloc mistake: "path" nulled but not freed upon failure
- ./erts/etc/win32/erlsrv/erlsrv_interactive.c:1027 [error] - Common realloc mistake: "line" nulled but not freed upon failure
- ./erts/etc/win32/erlsrv/erlsrv_registry.c:127 [error] - Common realloc mistake: "val_data" nulled but not freed upon failure
- ./erts/etc/win32/erlsrv/erlsrv_registry.c:148 [error] - Common realloc mistake: "tmpbuf" nulled but not freed upon failure
- ./erts/etc/win32/erlsrv/erlsrv_registry.c:327 [error] - Common realloc mistake: "res" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:60 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:115 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:100 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:193 [error] - Common realloc mistake: "lines" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:317 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:319 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:323 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:329 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:331 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:335 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./erts/etc/win32/start_erl.c:204 [error] - Common realloc mistake: "newstr" nulled but not freed upon failure
- ./erts/etc/win32/start_erl.c:442 [error] - Common realloc mistake: "BootFlags" nulled but not freed upon failure
- ./erts/lib_src/common/erl_printf.c:194 [error] - Possible null pointer dereference: dsbufp - otherwise it is redundant to check if dsbufp is null at line 195
- ./lib/asn1/c_src/asn1_erl_driver.c:732 [error] - Null pointer dereference
- ./lib/asn1/c_src/asn1_erl_driver.c:761 [error] - Null pointer dereference
- ./lib/asn1/c_src/asn1_erl_driver.c:969 [error] - Null pointer dereference
- ./lib/asn1/c_src/asn1_erl_driver.c:1016 [error] - Null pointer dereference
- ./lib/common_test/priv/rx-1.5/regex/test/emacsmalloc.c:638 [error] - Memory leak: ptr
- ./lib/common_test/priv/rx-1.5/rx/rxanal.c:430 [error] - Possible null pointer dereference: inx - otherwise it is redundant to check if inx is null at line 432
- ./lib/common_test/priv/rx-1.5/rx/rxanal.c:530 [error] - Possible null pointer dereference: inx - otherwise it is redundant to check if inx is null at line 532
- ./lib/common_test/priv/rx-1.5/rx/rxanal.c:635 [error] - Possible null pointer dereference: inx - otherwise it is redundant to check if inx is null at line 637
- ./lib/common_test/priv/rx-1.5/rx/rxanal.c:113 [error] - Uninitialized variable: this_subexp
- ./lib/common_test/priv/rx-1.5/rx/rxnfa.c:389 [error] - Memory leak: edge
- ./lib/common_test/priv/rx-1.5/rx/rxnode.c:123 [error] - Uninitialized variable: tmp
- ./lib/common_test/priv/rx-1.5/rx/rxnode.c:125 [error] - Uninitialized variable: tmp
- ./lib/erl_interface/src/connect/ei_connect.c:194 [error] - Common realloc mistake: "ei_sockets" nulled but not freed upon failure
- ./lib/erl_interface/src/prog/erl_call.c:583 [error] - Memory leak: modname
- ./lib/erl_interface/src/prog/erl_fake_prog.c:107 [error] - Uninitialized variable: uintx
- ./lib/erl_interface/src/prog/erl_fake_prog.c:107 [error] - Uninitialized variable: uchar
- ./lib/erl_interface/src/prog/erl_fake_prog.c:108 [error] - Uninitialized variable: uintx
- ./lib/erl_interface/src/prog/erl_fake_prog.c:108 [error] - Uninitialized variable: uchar
- ./lib/erl_interface/src/prog/erl_fake_prog.c:109 [error] - Uninitialized variable: uintx
- ./lib/erl_interface/src/prog/erl_fake_prog.c:109 [error] - Uninitialized variable: uchar
- ./lib/erl_interface/src/prog/erl_fake_prog.c:110 [error] - Uninitialized variable: uintx
- ./lib/erl_interface/src/prog/erl_fake_prog.c:110 [error] - Uninitialized variable: uchar
- ./lib/erl_interface/src/prog/erl_fake_prog.c:113 [error] - Uninitialized variable: uintx
- ./lib/erl_interface/src/prog/erl_fake_prog.c:130 [error] - Uninitialized variable: uchar
- ./lib/erl_interface/src/registry/reg_dump.c:215 [error] - Memory leak: dbuf
- ./lib/erl_interface/src/registry/reg_restore.c:304 [error] - Memory leak: dbuf
- ./lib/odbc/c_src/odbcserver.c:1711 [error] - syntax error
- ./lib/orber/c_src/InitialReference.cc:78 [error] - Mismatching allocation and deallocation: InitialReference::host
- ./lib/orber/c_src/InitialReference.cc:152 [error] - Dangerous usage of c_str()
- ./lib/os_mon/c_src/ferrule.c:66 [error] - Buffer overrun possible for long cmd-line args
- ./lib/os_mon/c_src/nteventlog/elog_main.c:336 [error] - Common realloc mistake: "event" nulled but not freed upon failure
- ./lib/os_mon/c_src/nteventlog/elog_main.c:376 [error] - Common realloc mistake: "event" nulled but not freed upon failure
- ./lib/os_mon/c_src/nteventlog/elog_pipe_stdin.c:65 [error] - Common realloc mistake: "stdin_buff" 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:13:54 +0000, based on results by cppcheck 1.46