diff options
author | kib <kib@FreeBSD.org> | 2011-03-06 22:59:30 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-03-06 22:59:30 +0000 |
commit | f3c6442b9399fa9d3cc1c7e47355f3b111aa429b (patch) | |
tree | 6ff814fe951bc8b87baf732d6e6e924b619fc79a /share | |
parent | f56b79fee1b3a270c7df9a507133ade99dc1ab2a (diff) | |
download | FreeBSD-src-f3c6442b9399fa9d3cc1c7e47355f3b111aa429b.zip FreeBSD-src-f3c6442b9399fa9d3cc1c7e47355f3b111aa429b.tar.gz |
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
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions