cppcheck analysis of apcupsd_3.14.8-2.dsc
- ./examples/client.c:46 [error] - Buffer overrun possible for long cmd-line args
- ./examples/hid-set.c:63 [error] - Buffer access out-of-bounds
- ./examples/megaclient.c:61 [error] - Buffer overrun possible for long cmd-line args
- ./examples/nagios_plugin_check_apcupsd.c:183 [error] - Buffer access out-of-bounds: sStatus
- ./examples/nagios_plugin_check_apcupsd.c:188 [error] - Buffer access out-of-bounds: sStatus
- ./examples/nagios_plugin_check_apcupsd.c:198 [error] - Buffer access out-of-bounds: sStatus
- ./examples/nagios_plugin_check_apcupsd.c:123 [error] - Buffer overrun possible for long cmd-line args
- ./examples/newslave.c:104 [error] - Buffer overrun possible for long cmd-line args
- ./examples/upsapm.c:95 [error] - Buffer overrun possible for long cmd-line args
- ./src/drivers/apcsmart/smart.c:447 [error] - Dangerous usage of 'status' (strncpy doesn't always 0-terminate it)
- ./src/libusbhid/usage.c:130 [error] - Common realloc mistake: "pages" nulled but not freed upon failure
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:12:20 +0000, based on results by cppcheck 1.46