aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorLipi Lee <lipisoft@gmail.com>2015-09-08 05:37:00 -0500
committerRob Landley <rob@landley.net>2015-09-08 05:37:00 -0500
commit104fbaaceaf4001d8c9c998981e7bcc22fdb027d (patch)
tree63e3518a9990a690aae12257b95dbb8b010081b8 /toys
parentb1353fb9185928249f273340c601244291e269fe (diff)
downloadtoybox-104fbaaceaf4001d8c9c998981e7bcc22fdb027d.tar.gz
increase the size of progname to avoid buffer overflow
Diffstat (limited to 'toys')
-rw-r--r--toys/pending/netstat.c2
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;