cppcheck analysis of gammu_1.29.0-1.dsc
- ./gammu/depend/nokia/dct4.c:709 [error] - Uninitialized variable: Buffer
- ./gammu/nokia.c:290 [error] - Common realloc mistake: "Names" nulled but not freed upon failure
- ./gammu/nokia.c:294 [error] - Common realloc mistake: "Names2" nulled but not freed upon failure
- ./libgammu/device/devfunc.c:319 [error] - Resource leak: fd
- ./libgammu/misc/cfg.c:91 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./libgammu/misc/cfg.c:126 [error] - Common realloc mistake: "buffer1" nulled but not freed upon failure
- ./libgammu/misc/cfg.c:131 [error] - Common realloc mistake: "buffer1" nulled but not freed upon failure
- ./libgammu/misc/cfg.c:155 [error] - Common realloc mistake: "buffer1" nulled but not freed upon failure
- ./libgammu/misc/cfg.c:160 [error] - Common realloc mistake: "buffer1" nulled but not freed upon failure
- ./libgammu/misc/cfg.c:210 [error] - Common realloc mistake: "buffer1" nulled but not freed upon failure
- ./libgammu/misc/cfg.c:215 [error] - Common realloc mistake: "buffer1" nulled but not freed upon failure
- ./libgammu/misc/cfg.c:234 [error] - Common realloc mistake: "buffer2" nulled but not freed upon failure
- ./libgammu/misc/cfg.c:239 [error] - Common realloc mistake: "buffer2" nulled but not freed upon failure
- ./libgammu/misc/cfg.c:265 [error] - Common realloc mistake: "buffer1" nulled but not freed upon failure
- ./libgammu/misc/cfg.c:269 [error] - Common realloc mistake: "buffer2" nulled but not freed upon failure
- ./libgammu/misc/cfg.c:274 [error] - Common realloc mistake: "buffer1" nulled but not freed upon failure
- ./libgammu/misc/cfg.c:277 [error] - Common realloc mistake: "buffer2" nulled but not freed upon failure
- ./libgammu/phone/at/at-sms.c:2301 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./libgammu/phone/at/atgen.c:1246 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./libgammu/phone/at/samsung.c:436 [error] - Dangerous usage of 'name' (strncpy doesn't always 0-terminate it)
- ./libgammu/phone/dummy/dummy.c:1083 [error] - Memory leak: path
- ./libgammu/service/backup/backtext.c:49 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./libgammu/service/backup/backtext.c:54 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./libgammu/service/backup/backtext.c:57 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./libgammu/service/backup/backtext.c:66 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./libgammu/service/backup/backtext.c:71 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./libgammu/service/backup/backtext.c:74 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./libgammu/service/backup/backtext.c:151 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./libgammu/service/backup/backtext.c:188 [error] - Undefined behaviour: buffer 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.
- ./smsd/core.c:527 [error] - Resource leak: listfd
- ./smsd/services/files.c:141 [error] - Resource leak: file
- ./smsd/services/files.c:574 [error] - Resource leak: file
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Fri, 28 Jan 2011 06:58:05 +0000, based on results by cppcheck 1.46