summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2020-01-29 13:26:42 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2020-01-29 13:26:42 +0100
commit392db31d905c6d893c8b2bd42c03fd49332aeb3c (patch)
tree78d5d405115f5e1d633e2e8b7158ec5016f2ed1f /utils
parent44fb7f384e0a6da27d43cda4f77ffab8d66239d7 (diff)
downloadrockbox-392db31d905c6d893c8b2bd42c03fd49332aeb3c.tar.gz
rockbox-392db31d905c6d893c8b2bd42c03fd49332aeb3c.tar.bz2
rockbox-392db31d905c6d893c8b2bd42c03fd49332aeb3c.zip
sonynwz/scsitools: fix string buffer size
Change-Id: I8997e7c3791b805a70a30cd1209a69b7afbec1e7
Diffstat (limited to 'utils')
-rw-r--r--utils/nwztools/scsitools/scsitool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/nwztools/scsitools/scsitool.c b/utils/nwztools/scsitools/scsitool.c
index 22983a4f08..b40c6be243 100644
--- a/utils/nwztools/scsitools/scsitool.c
+++ b/utils/nwztools/scsitools/scsitool.c
@@ -584,7 +584,7 @@ typedef void (*dpcc_print_func_t)(void *buffer, int buf_size);
struct dpcc_prop_t
{
char *user_name;
- char name[7];
+ char name[8];
uint8_t cdb1; // flags: bit 0 means size flag (means size in paragraph)
int size;
dpcc_print_func_t print_func;