]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a panic introduced in r329225
authorjhibbits <jhibbits@FreeBSD.org>
Wed, 14 Feb 2018 15:12:09 +0000 (15:12 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Wed, 14 Feb 2018 15:12:09 +0000 (15:12 +0000)
commiteaa64c96ea919f47d18e5b4bf2b9b2e0c6abe15b
tree69fd1893c0ab1de749a8076f0570643906af74d5
parentb21ccf63f28a3a4692d8a31419e0a725a1b1a800
Fix a panic introduced in r329225

Some GEOM partition tables may be destroyed with incomplete partition
entries.  Guard against this with NULL checks.

Reported by: pholm,others
Reviewed by: markj
Tested by: pholm
sys/geom/part/g_part.c