diff options
author | Dmitriy Monakhov <dmonakhov@sw.ru> | 2007-05-08 07:24:37 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 18:14:59 (GMT) |
commit | 2d3466a348a61c4d7f958ce80020eba17c09d7f7 (patch) | |
tree | eda69787ec28632b162638055b60dc8371f6432b /fs/reiserfs/fix_node.c | |
parent | 82f703bb8cb2732b4437a9f555a1be564e9e71c2 (diff) | |
download | linux-fsl-qoriq-2d3466a348a61c4d7f958ce80020eba17c09d7f7.tar.xz |
reiserfs: possible null pointer dereference during resize
sb_read may return NULL, let's explicitly check it. If so free new bitmap
blocks array, after this we may safely exit as it done above during bitmap
allocation.
Signed-off-by: Dmitriy Monakhov <dmonakhov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/reiserfs/fix_node.c')
0 files changed, 0 insertions, 0 deletions