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] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5h5yt1c0di.wl-tiwai@suse.de>
Date:   Tue, 09 Nov 2021 07:24:25 +0100
From:   Takashi Iwai <tiwai@...e.de>
To:     Austin Kim <austindh.kim@...il.com>
Cc:     tiwai@...e.com, perex@...ex.cz, alsa-devel@...a-project.org,
        linux-kernel@...r.kernel.org, austin.kim@....com
Subject: Re: [PATCH] ALSA: missing check for possible NULL after the call to kstrdup

On Tue, 09 Nov 2021 01:37:42 +0100,
Austin Kim wrote:
> 
> From: Austin Kim <austin.kim@....com>
> 
> If kcalloc() return NULL due to memory starvation, it is possible for 
> kstrdup() to return NULL in similar case. So add null check after the call 
> to kstrdup() is made.
> 
> Signed-off-by: Austin Kim <austin.kim@....com>

Thanks, applied now with a minor coding-style fix (we need no extra
parentheses), the correction of the subject line with the proper
prefix, and the addition of Cc-to-stable.


Takashi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ