]> err.no Git - util-linux/commit
libblkid: fix segfault in drdb
authorMatthias König <mk@phasorlab.de>
Tue, 12 Jan 2010 12:58:28 +0000 (13:58 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 22 Jan 2010 09:30:33 +0000 (10:30 +0100)
commit10f494e1a0ac09e144a42fcaeb72663674eb30fc
tree7dfd7643e0910ceaf98b20e6a3e95ccd7356bd67
parentcc62a975a21629d66557ee18ea9f4354b73e9e7f
libblkid: fix segfault in drdb

Check if blkid_probe_get_buffer() returns NULL to avoid dereferencing
a zero pointer resulting in a segfault.

Signed-off-by: Matthias König <mk@phasorlab.de>
shlibs/blkid/src/superblocks/drbd.c