diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-07-09 08:03:18 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-07-09 08:03:18 +0200 |
| commit | 9ab096a707c4f943a9e6e886ad236c07e7a5aa13 (patch) | |
| tree | b98dad79351f0d4492a7661c9e8aa32f689dcaee /amd64/include | |
| parent | 8ed25f24b7831eab394f14697766d55065b18822 (diff) | |
| download | plan9front-9ab096a707c4f943a9e6e886ad236c07e7a5aa13.tar.xz | |
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 'amd64/include')
0 files changed, 0 insertions, 0 deletions
