Date: Sun, 19 Jun 2005 02:21:03 +0000 (UTC) From: Garance A Drosehn <gad@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern imgact_shell.c Message-ID: <200506190221.j5J2L33G090996@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2005-06-19 02:21:03 UTC FreeBSD src repository Modified files: sys/kern imgact_shell.c Log: Fix a panic which could occur parsing #!-lines in a shell-script. If the #!-line had multiple whitespace characters after the interpreter name, and it did not have any options, then the code would do nasty things trying to process a (non-existent) option-string which "ended before it began"... Submitted by: Morten Johansen Approved by: re (dwhite) Revision Changes Path 1.35 +3 -3 src/sys/kern/imgact_shell.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506190221.j5J2L33G090996>