diff options
author | kaiw <kaiw@FreeBSD.org> | 2008-03-02 07:01:01 +0000 |
---|---|---|
committer | kaiw <kaiw@FreeBSD.org> | 2008-03-02 07:01:01 +0000 |
commit | 26fa289262c55377a8de57e630722327dfe7b50c (patch) | |
tree | 379e1d53811c3da3925a0921191c2cc3e8f04f0b /usr.bin/wall | |
parent | 380ba89956af6818d6332220c2ac73e73c5b8e93 (diff) | |
download | FreeBSD-src-26fa289262c55377a8de57e630722327dfe7b50c.zip FreeBSD-src-26fa289262c55377a8de57e630722327dfe7b50c.tar.gz |
- Do not malloc buffer for 0-size member when reading from archive.
- Fix a malloc buffer overrun: Use a while loop to check whether
the string buffer is big enough after resizing, since doubling
once might not be enough when a very long member name or symbol
name is provided.
- Fix typo.
Reported by: Michael Plass <mfp49_freebsd@plass-family.net>
Tested by: Michael Plass <mfp49_freebsd@plass-family.net>
Reviewed by: jkoshy
Approved by: jkoshy
Diffstat (limited to 'usr.bin/wall')
0 files changed, 0 insertions, 0 deletions