commit | 1f1ee1948525632736e8135d797db116d2a34c8d | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Tue Feb 26 22:24:42 2008 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Feb 26 22:24:42 2008 -0500 |
tree | 67e8733f8b02a01e74b478f74f9179167b6c1d01 | |
parent | dcc91e1053c357efca35e0d5674aa78989ee44bf [diff] |
libblkid: Add error checking to devicemapper code to avoid segfaults If a device mapper volume disappears while libblkid code is running, it is possible for the devicemapper code to return errors, and since libblkid wasn't checking for error returns, it would dereference a null pointer and crash. Add error checking to prevent this. Addresses-RedHat-Bugzilla: #433857 Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>