cppcheck analysis of brltty_4.2-7.dsc
- ./Bindings/Caml/brlapi_stubs.c:217 [error] - Null pointer dereference
- ./Bindings/Caml/brlapi_stubs.c:226 [error] - Null pointer dereference
- ./Bindings/Caml/brlapi_stubs.c:247 [error] - Null pointer dereference
- ./Bindings/Caml/brlapi_stubs.c:261 [error] - Null pointer dereference
- ./Bindings/Caml/brlapi_stubs.c:268 [error] - Null pointer dereference
- ./Bindings/Caml/brlapi_stubs.c:278 [error] - Null pointer dereference
- ./Bindings/Caml/brlapi_stubs.c:299 [error] - Null pointer dereference
- ./Bindings/Caml/brlapi_stubs.c:320 [error] - Null pointer dereference
- ./Bindings/Caml/brlapi_stubs.c:331 [error] - Null pointer dereference
- ./Bindings/Caml/brlapi_stubs.c:346 [error] - Null pointer dereference
- ./Bindings/Caml/brlapi_stubs.c:356 [error] - Null pointer dereference
- ./Bindings/Caml/brlapi_stubs.c:385 [error] - Null pointer dereference
- ./Bindings/Caml/brlapi_stubs.c:400 [error] - Null pointer dereference
- ./Bindings/Caml/brlapi_stubs.c:407 [error] - Null pointer dereference
- ./Bindings/Caml/brlapi_stubs.c:444 [error] - Null pointer dereference
- ./Drivers/Braille/Alva/braille.c:744 [error] - Array 'packet[4]' index 4 out of bounds
- ./Drivers/Braille/Alva/braille.c:1108 [error] - Array 'buffer[0]' index 2 out of bounds
- ./Drivers/Braille/Alva/braille.c:1111 [error] - Array 'buffer[0]' index 2 out of bounds
- ./Drivers/Braille/Alva/braille.c:1112 [error] - Array 'buffer[0]' index 3 out of bounds
- ./Drivers/Braille/Alva/braille.c:1141 [error] - Array 'packet[0]' index 4 out of bounds
- ./Drivers/Braille/Alva/braille.c:1142 [error] - Array 'packet[0]' index 5 out of bounds
- ./Drivers/Braille/Alva/braille.c:1143 [error] - Array 'packet[0]' index 6 out of bounds
- ./Drivers/Braille/Alva/braille.c:1168 [error] - Array 'packet[0]' index 2 out of bounds
- ./Drivers/Braille/Alva/braille.c:1292 [error] - Array 'buffer[0]' index 1 out of bounds
- ./Drivers/Braille/Alva/braille.c:1293 [error] - Array 'buffer[0]' index 2 out of bounds
- ./Drivers/Braille/Alva/braille.c:1294 [error] - Array 'buffer[0]' index 6 out of bounds
- ./Drivers/Braille/Alva/braille.c:1315 [error] - Array 'buffer[0]' index 5 out of bounds
- ./Drivers/Braille/Alva/braille.c:1316 [error] - Array 'buffer[0]' index 6 out of bounds
- ./Drivers/Braille/Alva/braille.c:1317 [error] - Array 'buffer[0]' index 7 out of bounds
- ./Drivers/Braille/Braudi/braille.c:144 [error] - Buffer access out-of-bounds: identity
- ./Drivers/Braille/IrisLinux/braille.c:870 [error] - Common realloc mistake: "prevdata" nulled but not freed upon failure
- ./Drivers/Braille/IrisLinux/braille.c:871 [error] - Common realloc mistake: "lcd_data" nulled but not freed upon failure
- ./Drivers/Braille/Papenmeier/braille.c:562 [error] - Array 'buf[0]' index 0 out of bounds
- ./Drivers/Braille/Papenmeier/braille.c:563 [error] - Array 'buf[0]' index 0 out of bounds
- ./Drivers/Braille/Papenmeier/braille.c:567 [error] - Array 'buf[0]' index 1 out of bounds
- ./Drivers/Braille/Papenmeier/braille.c:571 [error] - Array 'buf[0]' index 1 out of bounds
- ./Drivers/Braille/Papenmeier/braille.c:594 [error] - Array 'buf[0]' index 4 out of bounds
- ./Drivers/Braille/Papenmeier/braille.c:594 [error] - Array 'buf[0]' index 5 out of bounds
- ./Drivers/Braille/Papenmeier/braille.c:605 [error] - Array 'buf[0]' index 2 out of bounds
- ./Drivers/Braille/Papenmeier/braille.c:605 [error] - Array 'buf[0]' index 3 out of bounds
- ./Drivers/Braille/Papenmeier/braille.c:606 [error] - Array 'buf[0]' index 6 out of bounds
- ./Drivers/Braille/Papenmeier/braille.c:607 [error] - Array 'buf[0]' index 7 out of bounds
- ./Drivers/Braille/Papenmeier/braille.c:607 [error] - Array 'buf[0]' index 8 out of bounds
- ./Drivers/Braille/Papenmeier/braille.c:637 [error] - Array 'buf[0]' index 1 out of bounds
- ./Drivers/Braille/Papenmeier/braille.c:763 [error] - Array 'buffer[0]' index 0 out of bounds
- ./Drivers/Braille/Papenmeier/braille.c:878 [error] - Array 'buffer[0]' index 0 out of bounds
- ./Drivers/Screen/AtSpi/screen.c:190 [error] - Common realloc mistake: "curRows" nulled but not freed upon failure
- ./Drivers/Screen/AtSpi/screen.c:191 [error] - Common realloc mistake: "curRowLengths" nulled but not freed upon failure
- ./Drivers/Screen/AtSpi/screen.c:203 [error] - Common realloc mistake: "curRows" nulled but not freed upon failure
- ./Drivers/Screen/AtSpi/screen.c:204 [error] - Common realloc mistake: "curRowLengths" nulled but not freed upon failure
- ./Drivers/Screen/AtSpi2/screen.c:202 [error] - Common realloc mistake: "curRows" nulled but not freed upon failure
- ./Drivers/Screen/AtSpi2/screen.c:203 [error] - Common realloc mistake: "curRowLengths" nulled but not freed upon failure
- ./Drivers/Screen/AtSpi2/screen.c:215 [error] - Common realloc mistake: "curRows" nulled but not freed upon failure
- ./Drivers/Screen/AtSpi2/screen.c:216 [error] - Common realloc mistake: "curRowLengths" nulled but not freed upon failure
- ./Drivers/Screen/Linux/screen.c:574 [error] - Array 'counts[0]' index 0 out of bounds
- ./Drivers/Screen/Linux/screen.c:630 [error] - Array 'translationTable[0]' index 0 out of bounds
- ./Drivers/Screen/Linux/screen.c:925 [error] - Array 'translationTable[0]' index 0 out of bounds
- ./Drivers/Speech/eSpeak/speech.c:91 [error] - Uninitialized variable: w_punctlist
- ./Programs/brlapi_server.c:2531 [error] - Common realloc mistake: "coreWindowText" nulled but not freed upon failure
- ./Programs/brlapi_server.c:2532 [error] - Common realloc mistake: "coreWindowDots" nulled but not freed upon failure
- ./Programs/brltty.c:2250 [error] - Array 'buffer[0]' index 0 out of bounds
- ./Programs/brltty.c:2265 [error] - Array 'buffer[0]' index 0 out of bounds
- ./Programs/io_usb.h:227 [error] - Array index -2 is out of bounds
- ./Programs/device.c:56 [error] - Resource leak: console
- ./Programs/drivers.c:170 [error] - Array 'buffer[0]' index 0 out of bounds
- ./Programs/drivers.c:177 [error] - Array 'buffer[0]' index 0 out of bounds
- ./Programs/ktb_translate.c:347 [error] - Array 'buffer[0]' index 0 out of bounds
- ./Programs/usb_solaris.c:478 [error] - Array 'name[0]' index 0 out of bounds
- ./Programs/usb_solaris.c:484 [error] - Array 'name[0]' index 0 out of bounds
- ./Programs/usb_solaris.c:511 [error] - Array 'name[0]' index 0 out of bounds
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, 24 Dec 2010 15:58:10 +0000, based on results by cppcheck 1.46