You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Tools: hv: fix snprintf warning in kvp_daemon
Increase buffer size so that "_{-INT_MAX}" will fit.
Spotted by the gcc7 snprintf checker.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ddce54b6a9
commit
3619350cf0
@@ -1136,7 +1136,7 @@ static int process_ip_string(FILE *f, char *ip_string, int type)
|
||||
int i = 0;
|
||||
int j = 0;
|
||||
char str[256];
|
||||
char sub_str[10];
|
||||
char sub_str[13];
|
||||
int offset = 0;
|
||||
|
||||
memset(addr, 0, sizeof(addr));
|
||||
|
||||
Reference in New Issue
Block a user