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
This commit is contained in:
Eric Andersen 2004-06-22 08:40:54 +00:00
parent ed9ecf7894
commit 78a5ddeff0

View File

@ -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;