cppcheck analysis of erlang_14.a-dfsg-3.dsc
- ./erts/emulator/drivers/unix/unix_efile.c:744 [error] - Resource leak: fd
- ./erts/emulator/sys/vxworks/sys.c:2175 [error] - Buffer access out-of-bounds: pipeRead
- ./erts/emulator/sys/vxworks/sys.c:2177 [error] - Buffer access out-of-bounds: pipeWrite
- ./erts/emulator/test/float_SUITE_data/fp_drv.c:89 [error] - Passing value -1.0 to log() leads to undefined result
- ./erts/emulator/test/float_SUITE_data/fp_drv.c:93 [error] - Passing value 0.0 to log() leads to undefined result
- ./erts/epmd/src/epmd.c:102 [error] - Common realloc mistake: "tmp" nulled but not freed upon failure
- ./erts/epmd/src/epmd.c:109 [error] - Common realloc mistake: "argv" nulled but not freed upon failure
- ./erts/etc/common/inet_gethost.c:1302 [error] - Possible null pointer dereference: buff_size
- ./erts/etc/unix/dyn_erl.c:400 [error] - Memory leak: abspath
- ./erts/etc/win32/erl.c:63 [error] - Common realloc mistake: "path" nulled but not freed upon failure
- ./erts/etc/win32/erlsrv/erlsrv_interactive.c:1099 [error] - Common realloc mistake: "line" nulled but not freed upon failure
- ./erts/etc/win32/erlsrv/erlsrv_registry.c:143 [error] - Common realloc mistake: "val_data" nulled but not freed upon failure
- ./erts/etc/win32/erlsrv/erlsrv_registry.c:182 [error] - Common realloc mistake: "tmpbuf" nulled but not freed upon failure
- ./erts/etc/win32/erlsrv/erlsrv_registry.c:361 [error] - Common realloc mistake: "res" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:78 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:133 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:118 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:211 [error] - Common realloc mistake: "lines" 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/init_file.c:337 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:341 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:347 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:349 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./erts/etc/win32/init_file.c:353 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./erts/etc/win32/start_erl.c:219 [error] - Common realloc mistake: "newstr" nulled but not freed upon failure
- ./erts/etc/win32/start_erl.c:457 [error] - Common realloc mistake: "BootFlags" nulled but not freed upon failure
- ./erts/lib_src/common/erl_misc_utils.c:859 [error] - Possible null pointer dereference: cpuinfo - otherwise it is redundant to check if cpuinfo is null at line 860
- ./erts/lib_src/common/erl_printf.c:198 [error] - Possible null pointer dereference: dsbufp - otherwise it is redundant to check if dsbufp is null at line 199
- ./erts/test/ethread_SUITE_data/ethread_tests.c:1254 [error] - Common realloc mistake: "tids" nulled but not freed upon failure
- ./lib/asn1/c_src/asn1_erl_driver.c:749 [error] - Null pointer dereference
- ./lib/asn1/c_src/asn1_erl_driver.c:778 [error] - Null pointer dereference
- ./lib/asn1/c_src/asn1_erl_driver.c:986 [error] - Null pointer dereference
- ./lib/asn1/c_src/asn1_erl_driver.c:1033 [error] - Null pointer dereference
- ./lib/erl_interface/src/connect/ei_connect.c:195 [error] - Common realloc mistake: "ei_sockets" nulled but not freed upon failure
- ./lib/erl_interface/src/prog/erl_call.c:586 [error] - Memory leak: modname
- ./lib/erl_interface/src/prog/erl_fake_prog.c:126 [error] - Uninitialized variable: uintx
- ./lib/erl_interface/src/prog/erl_fake_prog.c:126 [error] - Uninitialized variable: uchar
- ./lib/erl_interface/src/prog/erl_fake_prog.c:127 [error] - Uninitialized variable: uintx
- ./lib/erl_interface/src/prog/erl_fake_prog.c:127 [error] - Uninitialized variable: uchar
- ./lib/erl_interface/src/prog/erl_fake_prog.c:128 [error] - Uninitialized variable: uintx
- ./lib/erl_interface/src/prog/erl_fake_prog.c:128 [error] - Uninitialized variable: uchar
- ./lib/erl_interface/src/prog/erl_fake_prog.c:129 [error] - Uninitialized variable: uintx
- ./lib/erl_interface/src/prog/erl_fake_prog.c:129 [error] - Uninitialized variable: uchar
- ./lib/erl_interface/src/prog/erl_fake_prog.c:132 [error] - Uninitialized variable: uintx
- ./lib/erl_interface/src/prog/erl_fake_prog.c:149 [error] - Uninitialized variable: uchar
- ./lib/erl_interface/src/registry/reg_dump.c:218 [error] - Memory leak: dbuf
- ./lib/erl_interface/src/registry/reg_restore.c:307 [error] - Memory leak: dbuf
- ./lib/odbc/c_src/odbcserver.c:1827 [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:67 [error] - Buffer overrun possible for long cmd-line args
- ./lib/os_mon/c_src/nteventlog/elog_main.c:337 [error] - Common realloc mistake: "event" nulled but not freed upon failure
- ./lib/os_mon/c_src/nteventlog/elog_main.c:377 [error] - Common realloc mistake: "event" nulled but not freed upon failure
- ./lib/os_mon/c_src/nteventlog/elog_pipe_stdin.c:66 [error] - Common realloc mistake: "stdin_buff" nulled but not freed upon failure
- ./lib/wx/c_src/gen/wxe_funcs.cpp:9587 [error] - Memory leak: data
- ./lib/wx/c_src/gen/wxe_funcs.cpp:9606 [error] - Memory leak: data
- ./lib/wx/c_src/gen/wxe_funcs.cpp:9606 [error] - Memory leak: alpha
- ./lib/wx/c_src/gen/wxe_funcs.cpp:10126 [error] - Memory leak: alpha
- ./lib/wx/c_src/gen/wxe_funcs.cpp:10141 [error] - Memory leak: data
- ./lib/wx/c_src/gen/wxe_funcs.cpp:10158 [error] - Memory leak: data
- ./lib/wx/c_src/wxe_driver.c:121 [error] - Buffer access out-of-bounds
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