lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 06 Dec 2017 11:07:27 -0600
From:   "Gustavo A. R. Silva" <garsilva@...eddedor.com>
To:     Daniel Vetter <daniel@...ll.ch>
Cc:     Daniel Vetter <daniel.vetter@...el.com>,
        Jani Nikula <jani.nikula@...ux.intel.com>,
        Gustavo Padovan <gustavo@...ovan.org>,
        Sean Paul <seanpaul@...omium.org>,
        David Airlie <airlied@...ux.ie>, linux-kernel@...r.kernel.org,
        dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH] drm/fb-helper: Fix potential NULL pointer dereference


Quoting Daniel Vetter <daniel@...ll.ch>:

> On Tue, Dec 05, 2017 at 11:46:28AM -0600, Gustavo A. R. Silva wrote:
>> fb_helper is being dereferenced before it is null checked,
>> hence there is a potential null pointer dereference.
>>
>> Fix this by moving the pointer dereference after fb_helper
>> has been null checked.
>>
>> This issue was detected with the help of Coccinelle.
>>
>> Fixes: c777990fb45b ("drm/fb-helper: Handle function NULL argument")
>> Signed-off-by: Gustavo A. R. Silva <garsilva@...eddedor.com>
>
> Oops. Applied to drm-misc-next, thanks for your patch.
> -Daniel
>

Glad to help. :)

Thanks
--
Gustavo A. R. Silva




Powered by blists - more mailing lists