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]
Message-ID: <adc759edb25c7e7f09190bb0fceed01373f1c73b.camel@pengutronix.de>
Date:   Fri, 16 Dec 2022 18:33:49 +0100
From:   Philipp Zabel <p.zabel@...gutronix.de>
To:     Jiasheng Jiang <jiasheng@...as.ac.cn>, mchehab@...nel.org
Cc:     linux-media@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] media: coda: Add check for kmalloc

On Do, 2022-11-17 at 15:02 +0800, Jiasheng Jiang wrote:
> As the kmalloc may return NULL pointer,
> it should be better to check the return value
> in order to avoid NULL poineter dereference,
> same as the others.
> 
> Fixes: cb1d3a336371 ("[media] coda: add CODA7541 JPEG support")
> Signed-off-by: Jiasheng Jiang <jiasheng@...as.ac.cn>

Reviewed-by: Philipp Zabel <p.zabel@...gutronix.de>

regards
Philipp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ