]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix several reads beyond the mapped first page of the binary in the
authorKonstantin Belousov <kib@FreeBSD.org>
Thu, 19 Jul 2012 11:15:53 +0000 (11:15 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Thu, 19 Jul 2012 11:15:53 +0000 (11:15 +0000)
commitd1ae5c83374dd3f09551a22811658d019b5ff631
tree9a0d222173ad4dba251324545d873f32a5a9fb4a
parent39c5964c5af1f275a92fed440a90b718fa9a0086
Fix several reads beyond the mapped first page of the binary in the
ELF parser. Specifically, do not allow note reader and interpreter
path comparision in the brandelf code to read past end of the page.
This may happen if specially crafter ELF image is activated.

Submitted by: Lukasz Wojcik <lukasz.wojcik zoho com>
MFC after: 3 days
sys/kern/imgact_elf.c