OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1353fb
)
increase the size of progname to avoid buffer overflow
author
Lipi Lee
<lipisoft@gmail.com>
Tue, 8 Sep 2015 10:37:00 +0000
(
05:37
-0500)
committer
Rob Landley
<rob@landley.net>
Tue, 8 Sep 2015 10:37:00 +0000
(
05:37
-0500)
toys/pending/netstat.c
patch
|
blob
|
history
diff --git
a/toys/pending/netstat.c
b/toys/pending/netstat.c
index
fbb9eb1
..
63be39c
100644
(file)
--- 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;