Date: Sun, 15 Jan 2006 20:30:14 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libkvm kvm.c Message-ID: <200601152030.k0FKUE7H014077@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
csjp 2006-01-15 20:30:14 UTC
FreeBSD src repository
Modified files:
lib/libkvm kvm.c
Log:
Validate that the supplied file is not empty before trying mmap(2) it
and access the pages associated with it.
Submitted by: Wojciech A. Koszek
PR: bin/91411
MFC after: 1 week
Revision Changes Path
1.28 +5 -0 src/lib/libkvm/kvm.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601152030.k0FKUE7H014077>
