diff options
author | jhb <jhb@FreeBSD.org> | 2009-10-29 13:44:58 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-10-29 13:44:58 +0000 |
commit | de0cdbf89c7befff1842227b98ea74697bf0b37b (patch) | |
tree | c6a941b890308ac677d9ee423ec805e5c8b2b558 /usr.sbin/yppoll | |
parent | 383492da7df143e4191f871c6f864dd9b5ab406f (diff) | |
download | FreeBSD-src-de0cdbf89c7befff1842227b98ea74697bf0b37b.zip FreeBSD-src-de0cdbf89c7befff1842227b98ea74697bf0b37b.tar.gz |
When extracting the capture buffer from a crashdump, only read the valid
portion of the capture buffer (db_capture_bufoff vs db_capture_bufsize).
This could result in outputting garbage (e.g. lots of 'p' characters if
DIAGNOSTIC is enabled) after the end of the capture buffer. While here,
fix a spelling nit.
Reported by: Mikolaj Golub to my trociny of gmail
MFC after: 3 days
Diffstat (limited to 'usr.sbin/yppoll')
0 files changed, 0 insertions, 0 deletions