mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
gcc: snprintf may need here upto 18 bytes
Although hypothetical case....
This commit is contained in:
parent
7f1f7ad694
commit
cf68bf7b6c
@ -4777,7 +4777,7 @@ static void client_recv_action(struct client *cl)
|
||||
const char *path;
|
||||
const char *str;
|
||||
struct pvs pvs;
|
||||
char buf[17]; /* "path[%d]\0", %d outputs signed integer so max to 10 bytes */
|
||||
char buf[18]; /* "path[%d]\0", %d outputs signed integer so max to 10 bytes */
|
||||
int64_t val;
|
||||
uint32_t opts = 0;
|
||||
int result = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user