diff options
author | Tim J. Robbins <tjr@FreeBSD.org> | 2003-10-13 07:24:22 +0000 |
---|---|---|
committer | Tim J. Robbins <tjr@FreeBSD.org> | 2003-10-13 07:24:22 +0000 |
commit | 1a7c9b7f5e02a657410a8978d66b10ea5a382123 (patch) | |
tree | 70a199e4f89f0234dc5331fbd241122c3b25be39 /etc | |
parent | 1f85f715702dccee80638a3644a2aaf4ae03c91f (diff) | |
download | src-1a7c9b7f5e02a657410a8978d66b10ea5a382123.tar.gz src-1a7c9b7f5e02a657410a8978d66b10ea5a382123.zip |
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
Notes
Notes:
svn path=/head/; revision=121065
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions