[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y1ZIp1ZAu0VzQ9Wf@debian.me>
Date: Mon, 24 Oct 2022 15:11:19 +0700
From: Bagas Sanjaya <bagasdotme@...il.com>
To: Li zeming <zeming@...china.com>
Cc: masahiroy@...nel.org, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] lxdialog: menubox: Add malloc allocation judgment
On Mon, Oct 24, 2022 at 01:56:29PM +0800, Li zeming wrote:
> Add menu_item Only when the pointer judges that the pointer is valid
> can function code be executed.
>
The if block isn't "judgement", but conditional.
What if menu_item fails to be allocated?
--
An old man doll... just what I always wanted! - Clara
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists