cppcheck analysis of gnumach_1.3.99.dfsg.git20110305-1.dsc
- ./ddb/db_command.c:294 [error] - instance of "db_command" object destroyed immediately
- ./ddb/db_sym.c:257 [error] - Array index -1 is out of bounds
- ./i386/i386at/kd_mouse.c:674 [error] - Array 'mousebuf[5]' index 5 out of bounds
- ./i386/i386at/kd_mouse.c:710 [error] - Array 'mousebuf[5]' index 5 out of bounds
- ./i386/i386at/kd_mouse.c:883 [error] - Array 'mousebuf[5]' index 5 out of bounds
- ./linux/dev/glue/misc.c:148 [error] - Uninitialized variable: entry
- ./linux/src/drivers/net/hp100.c:464 [error] - Possible null pointer dereference: dev
- ./linux/src/drivers/net/smc9194.c:1495 [error] - Possible null pointer dereference: skb
- ./linux/src/drivers/net/smc9194.c:1497 [error] - Possible null pointer dereference: skb
- ./linux/src/drivers/net/smc9194.c:1498 [error] - Possible null pointer dereference: skb
- ./linux/src/drivers/scsi/NCR5380.c:967 [error] - Invalid number of character (() when these macros are defined: ''.
- ./linux/src/drivers/scsi/NCR5380.c:967 [error] - Invalid number of character (() when these macros are defined: 'AUTOPROBE_IRQ'.
- ./linux/src/drivers/scsi/NCR5380.c:967 [error] - Invalid number of character (() when these macros are defined: 'DIFFERENTIAL'.
- ./linux/src/drivers/scsi/NCR5380.c:967 [error] - Invalid number of character (() when these macros are defined: 'DONT_USE_INTR'.
- ./linux/src/drivers/scsi/NCR5380.c:967 [error] - Invalid number of character (() when these macros are defined: 'DTC_PUBLIC_RELEASE'.
- ./linux/src/drivers/scsi/NCR5380.c:967 [error] - Invalid number of character (() when these macros are defined: 'GENERIC_NCR5380_PUBLIC_RELEASE'.
- ./linux/src/drivers/scsi/NCR5380.c:967 [error] - Invalid number of character (() when these macros are defined: 'LINKED'.
- ./linux/src/drivers/scsi/NCR5380.c:967 [error] - Invalid number of character (() when these macros are defined: 'LINKED;NCR5380_STATS'.
- ./linux/src/drivers/scsi/NCR5380.c:967 [error] - Invalid number of character (() when these macros are defined: 'NCR5380_STATS'.
- ./linux/src/drivers/scsi/NCR5380.c:967 [error] - Invalid number of character (() when these macros are defined: 'NCR5380_STATS;NCR5380_STAT_LIMIT'.
- ./linux/src/drivers/scsi/NCR5380.c:967 [error] - Invalid number of character (() when these macros are defined: 'NCR5380_TIMER;USLEEP'.
- ./linux/src/drivers/scsi/advansys.c:4718 [error] - Array 'adapter_info[6]' index 6 out of bounds
- ./linux/src/drivers/scsi/gdth.c:1589 [error] - Uninitialized variable: nscp
- ./linux/src/drivers/scsi/in2000.c:1472 [error] - Possible null pointer dereference: cmd
- ./linux/src/drivers/scsi/sr.c:981 [error] - Buffer access out-of-bounds: cmd
- ./linux/src/drivers/scsi/scsiiom.c:259 [error] - Possible null pointer dereference: pDCB - otherwise it is redundant to check if pDCB is null at line 260
- ./linux/src/init/main.c:998 [error] - Allocation with open, if doesn't release it.
- ./linux/src/kernel/sched.c:251 [error] - Invalid number of character (() when these macros are defined: 'PAST_2_0;__SMP__'.
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Sat, 26 Mar 2011 06:58:05 +0000, based on results by cppcheck 1.46