| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |
To: bugs@ATHENA.MIT.EDU Date: Fri, 18 Jan 91 04:15:56 EST From: John Carr <jfc@ATHENA.MIT.EDU> If ls is exec-ed with argv[0] = NULL, it prints ls: out of memory The first statement in the program decrements argc, so it tries to allocate space for -1 filename arguments. This fails.
| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |