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:
parent
9b1b8e4c24
commit
014b1d6f54
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue