aboutsummaryrefslogtreecommitdiffstats
path: root/erts/epmd
diff options
context:
space:
mode:
authorJay True <[email protected]>2014-02-26 22:29:00 +0800
committerJay True <[email protected]>2014-02-26 22:29:00 +0800
commite444e9a2ac6a2d70a34d95c97c4af0d39aac232d (patch)
tree5fa8a529470b3e2c4a276ede9628d8c41e78466c /erts/epmd
parent8acc644e162bad52f7ab81c76c0cad15628e4f3d (diff)
downloadotp-e444e9a2ac6a2d70a34d95c97c4af0d39aac232d.tar.gz
otp-e444e9a2ac6a2d70a34d95c97c4af0d39aac232d.tar.bz2
otp-e444e9a2ac6a2d70a34d95c97c4af0d39aac232d.zip
ensure argv large enough for all possible args
Diffstat (limited to 'erts/epmd')
-rw-r--r--erts/epmd/src/epmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/epmd/src/epmd.c b/erts/epmd/src/epmd.c
index 2d55b37ff3..eb32a08e0b 100644
--- a/erts/epmd/src/epmd.c
+++ b/erts/epmd/src/epmd.c
@@ -52,7 +52,7 @@ static int epmd_main(int, char **, int);
int epmd_dbg(int level,int port) /* Utility to debug epmd... */
{
- char* argv[MAX_DEBUG+2];
+ char* argv[MAX_DEBUG+4];
char ibuff[100];
int argc = 0;