Coverity 9641: Buffer Size

When SPLAT_TEST_INIT() initialized SPLAT_KMEM_TEST11_NAME the short
short test name overran the static length buffer of SPLAT_NAME_SIZE.
This was fixed by increasing the buffer length from 16 to 20 bytes.
This commit is contained in:
Brian Behlendorf 2009-02-17 16:24:26 -08:00
parent 9b1b8e4c24
commit 014b1d6f54
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
#define SPLAT_NAME "splatctl"
#define SPLAT_DEV "/dev/splatctl"
#define SPLAT_NAME_SIZE 16
#define SPLAT_NAME_SIZE 20
#define SPLAT_DESC_SIZE 60
typedef struct splat_user {