]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ext4: mount panic from freeing invalid pointers
authorpfg <pfg@FreeBSD.org>
Mon, 11 Jan 2016 19:25:43 +0000 (19:25 +0000)
committerpfg <pfg@FreeBSD.org>
Mon, 11 Jan 2016 19:25:43 +0000 (19:25 +0000)
commit4ba3f354902d216384ffbcd5a6b1b3e219d451ea
tree91679d07290552dee4d9957b5c4ed2d3ff78b524
parent52388dd9b7708ba89d74861bbc50bda8bd38307c
ext4: mount panic from freeing invalid pointers

Initialize the struct with those fields to zeroes on allocation,
preventing the panic.

Patch by: Damjan Jovanovic.

PR: 206056
MFC after: 3 days
sys/fs/ext2fs/ext2_vfsops.c