diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-06-22 08:40:54 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-06-22 08:40:54 +0000 |
commit | 78a5ddeff0352ee7a4f6a02333c07657f0b4ccc0 (patch) | |
tree | add73a66dfaf7054b27b9456e6a8edf2b71c4072 /networking | |
parent | ed9ecf78942e6da6f23f2e480639135c10631313 (diff) | |
download | busybox-78a5ddeff0352ee7a4f6a02333c07657f0b4ccc0.tar.gz |
Robin Farine writes:
Package: BusyBox
Version: 1.0.0-pre10
Passing the -q <integer> option to inetd causes it to dereference an
invalid pointer (optarg). The attached patch provides a fix to this
problem.
Robin
Diffstat (limited to 'networking')
-rw-r--r-- | networking/inetd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/inetd.c b/networking/inetd.c index 4440a2d30..169cc8716 100644 --- a/networking/inetd.c +++ b/networking/inetd.c @@ -771,7 +771,7 @@ extern int inetd_main(int argc, char *argv[]) #endif /* uClinux */ if(opt & 1) { - global_queuelen = atoi(optarg); + global_queuelen = atoi(sq); if (global_queuelen < 8) global_queuelen=8; } argc -= optind; |