Files
libguestfs/src
Richard W.M. Jones d70ceb4cbe list-filesystems: Do not segfault if guestfs_btrfs_subvolume_list returns an error (RHBZ#1064008).
If calling guestfs_list_filesystems with a disk image containing a
corrupt btrfs volume, the library would segfault.  There was a missing
check for a NULL return from guestfs_btrfs_subvolume_list.

This adds a check, returning the real error up through the stack and
out of guestfs_list_filesystems.

This is potentially a denial of service if processing disk images from
untrusted sources, but is not exploitable.

Thanks: Jeff Bastian for reporting the bug.
2014-02-11 20:14:01 +00:00
..
2014-01-02 16:53:34 +00:00
2013-03-16 21:22:03 +00:00
2014-01-02 16:53:34 +00:00
2013-03-16 21:22:03 +00:00
2013-08-20 18:29:52 +01:00
2014-01-02 16:53:34 +00:00
2014-01-02 16:53:34 +00:00
2013-04-16 16:46:01 +01:00
2014-01-02 16:53:34 +00:00