cppcheck analysis of gpe-conf_0.2.8-1.dsc
- ./applets.c:94 [error] - Common realloc mistake: "lines" nulled but not freed upon failure
- ./applets.c:192 [error] - Common realloc mistake: "lines" nulled but not freed upon failure
- ./applets.c:334 [error] - Memory leak: s
- ./modules/cardinfo.c:247 [error] - Common realloc mistake: "lines" nulled but not freed upon failure
- ./modules/cardinfo.c:399 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./modules/cardinfo.c:434 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./modules/cardinfo.c:455 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./modules/cardinfo.c:466 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./modules/cardinfo.c:528 [error] - Resource leak: pipe
- ./modules/cardinfo.c:561 [error] - Resource leak: f
- ./modules/cardinfo.c:706 [error] - Mismatching allocation and deallocation: str
- ./modules/cardinfo.c:760 [error] - Mismatching allocation and deallocation: fname
- ./modules/cardinfo.c:761 [error] - Mismatching allocation and deallocation: fname
- ./modules/cardinfo.c:772 [error] - Mismatching allocation and deallocation: fname
- ./modules/cardinfo.c:1103 [error] - Mismatching allocation and deallocation: cmdstr
- ./modules/cardinfo.c:1135 [error] - Mismatching allocation and deallocation: config
- ./modules/cardinfo.c:1142 [error] - Mismatching allocation and deallocation: config
- ./modules/cardinfo.c:1152 [error] - Mismatching allocation and deallocation: config
- ./modules/cardinfo.c:1159 [error] - Mismatching allocation and deallocation: config
- ./modules/cardinfo.c:1231 [error] - Mismatching allocation and deallocation: str
- ./modules/cardinfo.c:1407 [error] - Mismatching allocation and deallocation: errmsg
- ./modules/cfgfile.c:645 [error] - Buffer access out-of-bounds: outstr
- ./modules/cfgfile.c:646 [error] - Buffer access out-of-bounds: outstr
- ./modules/cfgfile.c:647 [error] - Buffer access out-of-bounds: outstr
- ./modules/cfgfile.c:648 [error] - Buffer access out-of-bounds: outstr
- ./modules/cfgfile.c:649 [error] - Buffer access out-of-bounds: outstr
- ./modules/cfgfile.c:650 [error] - Buffer access out-of-bounds: outstr
- ./modules/cfgfile.c:836 [error] - Buffer access out-of-bounds: outstr
- ./modules/cfgfile.c:837 [error] - Buffer access out-of-bounds: outstr
- ./modules/cfgfile.c:838 [error] - Buffer access out-of-bounds: outstr
- ./modules/cfgfile.c:839 [error] - Buffer access out-of-bounds: outstr
- ./modules/cfgfile.c:840 [error] - Buffer access out-of-bounds: outstr
- ./modules/cfgfile.c:841 [error] - Buffer access out-of-bounds: outstr
- ./modules/cfgfile.c:187 [error] - Common realloc mistake: "configtext" nulled but not freed upon failure
- ./modules/cfgfile.c:362 [error] - Common realloc mistake: "iflist" nulled but not freed upon failure
- ./modules/cfgfile.c:539 [error] - Common realloc mistake: "configtext" nulled but not freed upon failure
- ./modules/cfgfile.c:71 [error] - Memory leak: delim
- ./modules/keys/kbd.c:144 [error] - Mismatching allocation and deallocation: tmp
- ./modules/keys/kbd.c:174 [error] - Mismatching allocation and deallocation: tmp
- ./modules/keys/keyboard.c:176 [error] - Resource leak: fd
- ./modules/keys/keyctl.c:121 [error] - Common realloc mistake: "commands" nulled but not freed upon failure
- ./modules/keys/keyctl.c:206 [error] - Common realloc mistake: "buttondefs" nulled but not freed upon failure
- ./modules/keys/keyctl.c:573 [error] - Common realloc mistake: "cfglines" nulled but not freed upon failure
- ./modules/network.c:97 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./modules/network.c:271 [error] - Common realloc mistake: "iflist" nulled but not freed upon failure
- ./modules/network.c:136 [error] - Mismatching allocation and deallocation: buffer
- ./modules/network.c:262 [error] - Memory leak: ifname
- ./modules/network.c:1411 [error] - Memory leak: delim
- ./modules/ownerinfo.c:174 [error] - Memory leak: firstline
- ./modules/ownerinfo.c:414 [error] - Memory leak: firstline
- ./modules/ownerinfo.c:515 [error] - Memory leak: firstline
- ./modules/ownerinfo.c:572 [error] - Memory leak: firstline
- ./modules/ownerinfo.c:572 [error] - Memory leak: oldcontent
- ./modules/screen/brightness.c:408 [error] - Resource leak: f_light
- ./modules/screen/brightness.c:426 [error] - Resource leak: f_light
- ./modules/sleep/conf.c:202 [error] - Memory leak: conf
- ./modules/storage.c:210 [error] - Common realloc mistake: "filesystems" nulled but not freed upon failure
- ./modules/storage.c:77 [error] - Uninitialized variable: mem_total
- ./modules/storage.c:78 [error] - Uninitialized variable: mem_total
- ./modules/storage.c:78 [error] - Uninitialized variable: mem_free
- ./modules/storage.c:79 [error] - Uninitialized variable: mem_free
- ./modules/users/ucallbacks.c:283 [error] - Memory leak: newpasswd2
- ./tools/interface.c:1879 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./tools/interface.c:1903 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./tools/interface.c:1907 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./tools/interface.c:1911 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./tools/interface.c:1915 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./tools/interface.c:1927 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./tools/interface.c:1957 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./tools/interface.c:1960 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./tools/interface.c:1981 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./tools/interface.c:1989 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./tools/interface.c:1943 [error] - Undefined behaviour: addr6 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.
- ./tools/interface.c:1947 [error] - Undefined behaviour: addr6 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.
- ./tools/interface.c:1949 [error] - Undefined behaviour: addr6 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.
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 08:58:05 +0000, based on results by cppcheck 1.46