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:
parent
ed9ecf7894
commit
78a5ddeff0
@ -771,7 +771,7 @@ extern int inetd_main(int argc, char *argv[])
|
|||||||
#endif /* uClinux */
|
#endif /* uClinux */
|
||||||
|
|
||||||
if(opt & 1) {
|
if(opt & 1) {
|
||||||
global_queuelen = atoi(optarg);
|
global_queuelen = atoi(sq);
|
||||||
if (global_queuelen < 8) global_queuelen=8;
|
if (global_queuelen < 8) global_queuelen=8;
|
||||||
}
|
}
|
||||||
argc -= optind;
|
argc -= optind;
|
||||||
|
Loading…
Reference in New Issue
Block a user