cppcheck analysis of gpe-conf_0.2.8-1.dsc
- ./applets.c:198 [error] - Mismatching allocation and deallocation: delim
- ./applets.c:334 [error] - Memory leak: s
- ./misc.c:40 [possible error] - Resource leak: pipe
- ./modules/cardinfo.c:528 [error] - Resource leak: pipe
- ./modules/cardinfo.c:561 [error] - Resource leak: f
- ./modules/cardinfo.c:598 [error] - Uninitialized variable: t
- ./modules/cardinfo.c:599 [error] - Uninitialized variable: n
- ./modules/cfgfile.c:71 [error] - Memory leak: delim
- ./modules/keys/keyboard.c:176 [error] - Resource leak: fd
- ./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 [possible 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:211 [possible error] - Resource leak: light_fd
- ./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:374 [possible error] - Resource leak: pipe
- ./modules/storage.c:78 [error] - Uninitialized variable: mem_total
- ./modules/users/ucallbacks.c:283 [possible error] - Memory leak: oldpasswd
- ./modules/users/ucallbacks.c:283 [error] - Memory leak: newpasswd2
- ./modules/users/ucallbacks.c:283 [possible error] - Memory leak: newpasswd
- ./parser.c:57 [possible error] - Resource leak: pipe
- ./parser.c:116 [possible error] - Resource leak: pipe
- ./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 Thu, 16 Dec 2010 05:48:46 +0000, based on results by cppcheck 1.41-modif