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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"