[<prev] [next>] [day] [month] [year] [list]
Message-ID: <87ps85z2ea.fsf@sw.ru>
Date: Tue, 20 Feb 2007 10:58:21 +0300
From: Dmitriy Monakhov <dmonakhov@...ru>
To: linux-kernel@...r.kernel.org
CC: reiserfs-list@...esys.com
Subject: [patch] 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@...nvz.org>
-------------
View attachment "diff-mm-reiserfs-resize-sb_read-errh-fix" of type "text/plain" (581 bytes)
Powered by blists - more mailing lists