From: Jaromir Capik Date: Tue, 5 Aug 2014 17:15:03 +0000 (+0200) Subject: library: increasing meminfo()/namebuf size from 16 to 32 X-Git-Tag: v3.3.10~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2538b5ac0321b351e39e78a309063946b596427c;p=procps-ng library: increasing meminfo()/namebuf size from 16 to 32 --- diff --git a/proc/sysinfo.c b/proc/sysinfo.c index 9b6c2b8b..6b01397e 100644 --- a/proc/sysinfo.c +++ b/proc/sysinfo.c @@ -622,7 +622,7 @@ static unsigned long kb_inactive_file; void meminfo(void){ - char namebuf[16]; /* big enough to hold any row name */ + char namebuf[32]; /* big enough to hold any row name */ mem_table_struct findme = { namebuf, NULL}; mem_table_struct *found; char *head;