]> 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>
Tue, 16 Feb 2010 08:58:56 +0000 (09:58 +0100)
commitb73eee844b742bbac0fd48b7ad256e3ec4f1762f
tree2507ded66215357c08eabeb0ffd318373ca300d7
parent74f2e46df718c7a3ef9e65b785d4022968218bb8
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