diff options
author | tjr <tjr@FreeBSD.org> | 2003-10-13 07:24:22 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2003-10-13 07:24:22 +0000 |
commit | 9da9583b7fe94bf2e7812dc8c5c4e622e0d0ae5f (patch) | |
tree | 70a199e4f89f0234dc5331fbd241122c3b25be39 /etc/rc.d/jail | |
parent | 47ef5b092f3bf8a5a36fe7b20a91b882852c255d (diff) | |
download | FreeBSD-src-9da9583b7fe94bf2e7812dc8c5c4e622e0d0ae5f.zip FreeBSD-src-9da9583b7fe94bf2e7812dc8c5c4e622e0d0ae5f.tar.gz |
Fix two buffer overflows caused by off-by-one errors: avoid writing a null
character 1 byte past the end of cmdline[] when libedit is being used for
input, and avoid writing a null pointer 1 element past the end of margv[].
Reviewed by: gad
Diffstat (limited to 'etc/rc.d/jail')
0 files changed, 0 insertions, 0 deletions