summaryrefslogtreecommitdiff
path: root/sys/src/cmd/python/Python/sysmodule.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-07-09 08:03:18 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-07-09 08:03:18 +0200
commit9ab096a707c4f943a9e6e886ad236c07e7a5aa13 (patch)
treeb98dad79351f0d4492a7661c9e8aa32f689dcaee /sys/src/cmd/python/Python/sysmodule.c
parent8ed25f24b7831eab394f14697766d55065b18822 (diff)
kernel: reject bogus two byte "#!" shell scripts in sysexec()
- reject files smaller or equal to two bytes, they are bogus - fix out of bounds access in shargs() when n <= 2 - only copy the bytes read into line buffer - use nil for pointers instead of 0
Diffstat (limited to 'sys/src/cmd/python/Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions