Skip to content

Commit 08006a8

Browse files
committed
Fix array overflow
1 parent 5aae841 commit 08006a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ static struct spi_stats {
4747

4848
struct ftdi_device_ids {
4949
uint16_t vid, pid;
50-
char name[10];
50+
const char *name;
5151
};
5252

5353
#define SPI_MAX_PORTS 16

0 commit comments

Comments
 (0)