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  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, 18 May 2022 07:21:17 +0000 (UTC)
From:   Kalle Valo <>
To:     Haowen Bai <>
Cc:     "David S. Miller" <>,
        Eric Dumazet <>,
        Jakub Kicinski <>,
        "Paolo Abeni" <>,
        Haowen Bai <>, <>,
        <>, <>,
Subject: Re: [PATCH] ath11k: Fix pointer dereferenced before checking

Haowen Bai <> wrote:

> The pointer sspec is dereferencing pointer sar before sar is being
> null checked. Fix this by assigning sar->sub_specs to sspec only if
> sar is not NULL, otherwise just NULL. The code has checked sar whether
> it is NULL or not as below, but use before checking.
> Signed-off-by: Haowen Bai <>

I prefer Baochen's version:

Patch set to Superseded.


Powered by blists - more mailing lists