diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2013-01-14 22:53:47 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2013-01-14 22:53:47 +0100 |
commit | 1b1baff6e50df855238ce5e6c0e7dbb8a261fb32 (patch) | |
tree | 7e7454076c196c01fd262d8c8e3f735a2ca6ddd4 /fs/ubifs | |
parent | 7e2fb2d7e6a3094473f101ae33dd6431ae6d2ed1 (diff) |
UDF: Fix a null pointer dereference in udf_sb_free_partitions
This patch fixes a regression caused by commit bff943af6fe "udf: Fix memory
leak when mounting" due to which it was triggering a kernel null point
dereference in case of interrupted mount OR when allocating memory to
sbi->s_partmaps failed in function udf_sb_alloc_partition_maps.
Reported-and-tested-by: James Hogan <james@albanarts.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ubifs')
0 files changed, 0 insertions, 0 deletions