Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753282AbYJDKUU (ORCPT ); Sat, 4 Oct 2008 06:20:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752199AbYJDKUH (ORCPT ); Sat, 4 Oct 2008 06:20:07 -0400 Received: from smtp239.poczta.interia.pl ([217.74.64.239]:44365 "EHLO smtp239.poczta.interia.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751697AbYJDKUG convert rfc822-to-8bit (ORCPT ); Sat, 4 Oct 2008 06:20:06 -0400 Date: 04 Oct 2008 12:20:02 +0200 From: krzysztof.h1@poczta.fm Subject: Re: [PATCH -mm] fb: fix NULL pointer BUG dereference in fb_open() To: "righi.andrea@gmail.com" , Krzysztof Helt , Andrew Morton , "adaplas@gmail.com" Cc: "linux-fbdev-devel@lists.sourceforge.net" , LKML MIME-Version: 1.0 Content-Type: TEXT/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-ORIGINATE-IP: 89.151.20.32 X-Mailer: PSE Message-Id: <20081004102002.36184141A442@f15.poczta.interia.pl> X-EMID: 9ac40acc Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 624 Lines: 17 > Accessing to an unregistered fb device raises the following bug, because > mutex_unlock() is called on fb_info->lock, but fb_info is NULL. > > Also use a better coding style. > Acked-by: Krzysztof Helt ---------------------------------------------------------------------- Dzwon taniej na zagraniczne komorki! Sprawdz >> http://link.interia.pl/f1f26 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/