Date: Thu, 29 Oct 2009 13:44:58 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/ddb ddb_capture.c Message-ID: <200910291345.n9TDjFIj085023@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-10-29 13:44:58 UTC
FreeBSD src repository
Modified files:
sbin/ddb ddb_capture.c
Log:
SVN rev 198585 on 2009-10-29 13:44:58Z by jhb
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
Revision Changes Path
1.2 +10 -10 src/sbin/ddb/ddb_capture.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910291345.n9TDjFIj085023>
