[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADLLry6o=NmreEhe1BF2czW4dhKAUyi271uQEfUrGoObjpy7QQ@mail.gmail.com>
Date: Tue, 9 Nov 2021 17:20:47 +0900
From: Austin Kim <austindh.kim@...il.com>
To: Takashi Iwai <tiwai@...e.de>
Cc: tiwai@...e.com, perex@...ex.cz, alsa-devel@...a-project.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
김동현 <austin.kim@....com>
Subject: Re: [PATCH] ALSA: missing check for possible NULL after the call to kstrdup
2021년 11월 9일 (화) 오후 3:24, Takashi Iwai <tiwai@...e.de>님이 작성:
>
> 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.
>
Great, Thanks
BR,
Austin Kim
>
> Takashi
Powered by blists - more mailing lists