[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4538DD82.3010408@openvz.org>
Date: Fri, 20 Oct 2006 18:30:26 +0400
From: Pavel Emelianov <xemul@...nvz.org>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...l.org>
Subject: [PATCH] Fix potential OOPs in blkdev_open()
blkdev_open() calls bc_acquire() to get a struct block_device.
Since bc_acquire() may return NULL when system is out of memory
an appropriate check is required.
Signed-off-by: Pavel Emelianov <xemul@...nvz.org>
View attachment "diff-blkdev-open-oops-fix" of type "text/plain" (345 bytes)
Powered by blists - more mailing lists