Date: Sat, 21 Jan 2006 20:11:49 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern imgact_elf.c Message-ID: <200601212011.k0LKBnr3014725@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2006-01-21 20:11:49 UTC FreeBSD src repository Modified files: sys/kern imgact_elf.c Log: Avoid a vm object reference leak in a rarely used code path. An executable contains at most one PT_INTERP program header. Therefore, the loop that searches for it can terminate after it is found rather than iterating over the entire set of program headers. Eliminate an unneeded initialization. Reviewed by: tegge Revision Changes Path 1.175 +7 -10 src/sys/kern/imgact_elf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601212011.k0LKBnr3014725>