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] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 17 Nov 2019 08:06:29 +0000
To:     Colin King <>
Cc:     Kalle Valo <>,
        "David S . Miller" <>,,,,,
Subject: Re: [PATCH] wil6210: fix break that is never reached because of
 zero'ing of a retry counter

On 2019-11-15 14:09, Colin King wrote:
> From: Colin Ian King <>
> There is a check on the retry counter invalid_buf_id_retry that is 
> always
> false because invalid_buf_id_retry is initialized to zero on each 
> iteration
> of a while-loop.  Fix this by initializing the retry counter before the
> while-loop starts.
> Addresses-Coverity: ("Logically dead code")
> Fixes: b4a967b7d0f5 ("wil6210: reset buff id in status message after
> completion")
> Signed-off-by: Colin Ian King <>
> ---
> Note: not tested, so I'm not sure if the loop retry threshold is high 
> enough
> ---

Reviewed-by: Maya Erez <>

Powered by blists - more mailing lists