]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
avoid kernel stack data leak in core dump thrmisc note
authorEd Maste <emaste@FreeBSD.org>
Thu, 31 Oct 2019 20:42:36 +0000 (20:42 +0000)
committerEd Maste <emaste@FreeBSD.org>
Thu, 31 Oct 2019 20:42:36 +0000 (20:42 +0000)
commit2e5f9189bb92b6f77ed7ac4608a058e69e2b5bee
tree5b53cbd797c8f6121ad093aac8c4eb97f95e90e4
parentc09aa2145ab281567daf3364d19e044352dd85fc
avoid kernel stack data leak in core dump thrmisc note

bzero the entire thrmisc struct, not just the padding.  Other core dump
notes are already done this way.

Reported by: Ilja Van Sprundel <ivansprundel@ioactive.com>
Reviewed by: markj
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
sys/kern/imgact_elf.c