diff options
author | Lipi Lee <lipisoft@gmail.com> | 2015-09-08 05:37:00 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-09-08 05:37:00 -0500 |
commit | 104fbaaceaf4001d8c9c998981e7bcc22fdb027d (patch) | |
tree | 63e3518a9990a690aae12257b95dbb8b010081b8 /toys | |
parent | b1353fb9185928249f273340c601244291e269fe (diff) | |
download | toybox-104fbaaceaf4001d8c9c998981e7bcc22fdb027d.tar.gz |
increase the size of progname to avoid buffer overflow
Diffstat (limited to 'toys')
-rw-r--r-- | toys/pending/netstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/netstat.c b/toys/pending/netstat.c index fbb9eb12..63be39cc 100644 --- a/toys/pending/netstat.c +++ b/toys/pending/netstat.c @@ -58,7 +58,7 @@ enum { #define SOCK_NOT_CONNECTED 1 //For PID/Progrma Name #define PROGRAM_NAME "PID/Program Name" -#define PROGNAME_LEN 21 +#define PROGNAME_LEN 50 typedef struct _pidlist { struct _pidlist *next; |