cppcheck analysis of isdnutils_3.9.20060704+dfsg.2-7.dsc
- ./act2000/actctrl.c:290 [error] - Resource leak: fd
- ./ant-phone/intl/localealias.c:306 [error] - Resource leak: fp
- ./ant-phone/src/callerid.c:880 [error] - Memory leak: timestr
- ./ant-phone/src/isdnlexer.c:983 [error] - Common realloc mistake: "isdn_lval" nulled but not freed upon failure
- ./ant-phone/src/isdnparser.c:935 [error] - Memory leak: yyptr
- ./capiinit/capiinit.c:323 [error] - Memory leak: p
- ./eicon/divautil/divalog.c:450 [error] - Resource leak: fp
- ./eicon/divautil/lindiload.c:272 [error] - Memory leak: card_list
- ./eicon/divautil/lindownload.c:320 [error] - Resource leak: dsp_fd
- ./eicon/divautil/lindownload.c:359 [error] - Resource leak: table_fd
- ./eicon/divautil/xlog.c:1019 [error] - Uninitialized variable: cr
- ./eicon/eiconctrl.c:1995 [error] - Resource leak: dfd
- ./eurofile/src/eft/eft_dir.c:669 [error] - Uninitialized variable: fd
- ./eurofile/src/eft/eft_i4l.c:454 [error] - Resource leak: fx25
- ./eurofile/src/eft/eft_i4l.c:52 [error] - Resource leak: fd
- ./eurofile/src/eft/eft_server.c:360 [error] - instance of "stat" object destroyed immediately
- ./eurofile/src/eft/eft_server.c:420 [error] - instance of "stat" object destroyed immediately
- ./eurofile/src/eft/tdu_log.c:198 [error] - Uninitialized variable: ret
- ./eurofile/src/eftp/eftp.c:987 [error] - Memory leak: buf
- ./icn/icnctrl.c:398 [error] - Resource leak: fd
- ./ipppd/environ.c:62 [error] - Memory leak: newstring
- ./ipppd/environ_bsd.c:118 [error] - Memory leak: newstring
- ./ipppd/sys-linux.c:1450 [error] - Dereferencing 'wtmp' after it is deallocated / released
- ./isdnctrl/ctrltimru.c:198 [error] - Undefined behaviour: s 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.
- ./isdnctrl/ctrltimru.c:205 [error] - Undefined behaviour: s 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.
- ./isdnctrl/ctrltimru.c:1010 [error] - Undefined behaviour: str 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.
- ./isdnctrl/ctrltimru.c:1015 [error] - Undefined behaviour: str 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.
- ./isdnctrl/ctrltimru.c:1020 [error] - Undefined behaviour: str 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.
- ./isdnctrl/ctrltimru.c:1025 [error] - Undefined behaviour: str 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.
- ./isdnctrl/ctrltimru.c:1030 [error] - Undefined behaviour: str 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.
- ./isdnctrl/ctrltimru.c:1035 [error] - Undefined behaviour: str 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.
- ./isdnctrl/isdnctrl.c:468 [error] - Resource leak: iflst
- ./isdnlog/client/src/kcurcalls.cpp:87 [error] - Common realloc mistake: "channr" nulled but not freed upon failure
- ./isdnlog/client/src/kcurcalls.cpp:152 [error] - Common realloc mistake: "channr" nulled but not freed upon failure
- ./isdnlog/client/src/message.cpp:220 [error] - Undefined behaviour: Output 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.
- ./isdnlog/client/src/message.cpp:222 [error] - Undefined behaviour: Output 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.
- ./isdnlog/client/src/message.cpp:225 [error] - Undefined behaviour: Output 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.
- ./isdnlog/client/src/message.cpp:232 [error] - Undefined behaviour: Output 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.
- ./isdnlog/client/src/message.cpp:235 [error] - Undefined behaviour: Output 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.
- ./isdnlog/client/src/message.cpp:238 [error] - Undefined behaviour: Output 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.
- ./isdnlog/client/src/message.cpp:241 [error] - Undefined behaviour: Output 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.
- ./isdnlog/connect/conv_address.c:97 [error] - Memory leak: APtr
- ./isdnlog/isdnlog/isdnlog.c:1398 [error] - Common realloc mistake: "charge" nulled but not freed upon failure
- ./isdnlog/isdnlog/start_prog.c:541 [error] - Memory leak: Begin
- ./isdnlog/isdnlog/start_prog.c:652 [error] - Resource leak: FD
- ./isdnlog/isdnrep/isdnbill.c:1331 [error] - Resource leak: f
- ./isdnlog/isdnrep/isdnrep.c:717 [error] - Resource leak: ftmp
- ./isdnlog/tools/country.c:327 [error] - Common realloc mistake: "Country" nulled but not freed upon failure
- ./isdnlog/tools/holiday.c:427 [error] - Common realloc mistake: "Holiday" nulled but not freed upon failure
- ./isdnlog/tools/holiday.c:487 [error] - Common realloc mistake: "Table" nulled but not freed upon failure
- ./isdnlog/tools/isdnconf.c:1422 [error] - Common realloc mistake: "RetCode" nulled but not freed upon failure
- ./isdnlog/tools/isdnconf.c:1707 [error] - Common realloc mistake: "known" nulled but not freed upon failure
- ./isdnlog/tools/isdnrate.c:600 [error] - Common realloc mistake: "xproviders" nulled but not freed upon failure
- ./isdnlog/tools/isdnrate.c:621 [error] - Common realloc mistake: "providers" nulled but not freed upon failure
- ./isdnlog/tools/mkcountries.c:205 [error] - The code contains characters that are unhandled. Neither unicode nor extended ascii are supported. (line=205, character code=84)
- ./isdnlog/tools/mkcountries.c:207 [error] - The code contains characters that are unhandled. Neither unicode nor extended ascii are supported. (line=207, character code=df)
- ./isdnlog/tools/mkcountries.c:209 [error] - The code contains characters that are unhandled. Neither unicode nor extended ascii are supported. (line=209, character code=e4)
- ./isdnlog/tools/mkcountries.c:209 [error] - The code contains characters that are unhandled. Neither unicode nor extended ascii are supported. (line=209, character code=f6)
- ./isdnlog/tools/mkcountries.c:212 [error] - The code contains characters that are unhandled. Neither unicode nor extended ascii are supported. (line=212, character code=f6)
- ./isdnlog/tools/mkcountries.c:213 [error] - The code contains characters that are unhandled. Neither unicode nor extended ascii are supported. (line=213, character code=df)
- ./isdnlog/tools/mkcountries.c:214 [error] - The code contains characters that are unhandled. Neither unicode nor extended ascii are supported. (line=214, character code=f6)
- ./isdnlog/tools/rate.c:1399 [error] - Common realloc mistake: "Prsel" nulled but not freed upon failure
- ./isdnlog/tools/rate.c:1578 [error] - Common realloc mistake: "Booked" nulled but not freed upon failure
- ./isdnlog/tools/rate.c:1750 [error] - Common realloc mistake: "Provider" nulled but not freed upon failure
- ./isdnlog/tools/rate.c:1978 [error] - Common realloc mistake: "Service" nulled but not freed upon failure
- ./isdnlog/tools/zone/mkzonedb.c:143 [error] - Common realloc mistake: "numbers" nulled but not freed upon failure
- ./isdnlog/tools/zone/mkzonedb.c:374 [error] - Memory leak: df
- ./isdnlog/tools/zone/mkzonedb.c:374 [error] - Memory leak: rf
- ./lib/libtools.c:237 [error] - Common realloc mistake: "Ptr" nulled but not freed upon failure
- ./lib/libtools.c:596 [error] - Memory leak: Begin
- ./loop/loopctrl.c:269 [error] - Resource leak: fd
- ./pcbit/pcbitctl.c:227 [error] - Resource leak: fd
- ./pcbit/pcbitctl.c:273 [error] - Resource leak: fd
- ./pcbit/pcbitctl.c:549 [error] - Resource leak: fp
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 21 Dec 2010 20:58:05 +0000, based on results by cppcheck 1.46