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, 20 Dec 2017 09:07:32 +0100
From:   Linus Walleij <>
To:     Quentin Schulz <>
Cc:     Chen-Yu Tsai <>,
        Maxime Ripard <>,,
        "" <>,
        Thomas Petazzoni <>,
        linux-sunxi <>,
        Mylene Josserand <>
Subject: Re: [PATCH] pinctrl: axp209: dereference pointer after it's been set

On Wed, Dec 13, 2017 at 9:55 AM, Quentin Schulz
<> wrote:

> The number of GPIOs is gotten from a field within the structure
> referenced in the but it was actually read before it was
> retrieved, thus it was dereferencing a null pointer.
> Set the number of GPIOs after retrieving
> Fixes: e1190083b89b ("pinctrl: axp209: add support for AXP813 GPIOs")
> Signed-off-by: Quentin Schulz <>
> Reported-by: Mylène Josserand <>

Patch applied with the tags for test and ACK.

Linus Walleij

Powered by blists - more mailing lists