Skip to content

Commit

Permalink
Fix array overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lorf committed Mar 30, 2018
1 parent 5aae841 commit 08006a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static struct spi_stats {

struct ftdi_device_ids {
uint16_t vid, pid;
char name[10];
const char *name;
};

#define SPI_MAX_PORTS 16
Expand Down

0 comments on commit 08006a8

Please sign in to comment.