Date: Sun, 13 Mar 2011 09:36:52 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern imgact_shell.c Message-ID: <201103130937.p2D9b4DI089272@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2011-03-13 09:36:52 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/kern imgact_shell.c
Log:
SVN rev 219594 on 2011-03-13 09:36:52Z by kib
MFC r219352:
The execution of the shebang script requires putting interpreter path,
possible option and script path in the place of argv[0] supplied to
execve(2). It is possible and valid for the substitution to be shorter
then the argv[0].
Avoid signed underflow in this case.
PR: kern/155321
Revision Changes Path
1.37.2.2 +1 -1 src/sys/kern/imgact_shell.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103130937.p2D9b4DI089272>
