Date: Sun, 6 Mar 2011 22:59:30 +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: <201103062259.p26MxgbC044750@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2011-03-06 22:59:30 UTC FreeBSD src repository Modified files: sys/kern imgact_shell.c Log: SVN rev 219352 on 2011-03-06 22:59:30Z by kib 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. Submitted by: Devon H. O'Dell <devon.odell gmail com> PR: kern/155321 MFC after: 1 week Revision Changes Path 1.41 +1 -1 src/sys/kern/imgact_shell.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103062259.p26MxgbC044750>