[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0b2612c1-28ca-2bb0-14f1-4befea09cede@web.de>
Date: Fri, 8 May 2020 10:23:36 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Yunfeng Ye <yeyunfeng@...wei.com>,
Steven Rostedt <rostedt@...dmis.org>,
Masami Hiramatsu <mhiramat@...nel.org>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
Shiyuan Hu <hushiyuan@...wei.com>,
Hewenliang <hewenliang4@...wei.com>
Subject: Re: [PATCH v2] tools/bootconfig: Completion of error handling
…
> +++ b/tools/bootconfig/main.c
> @@ -314,31 +314,33 @@ int apply_xbc(const char *path, const char *xbc_path)
…
> +close_fd:
> close(fd);
> +free_data:
> free(data);
…
Do you find unchecked return values from calls of functions like close()
and printf() suspicious?
https://cwe.mitre.org/data/definitions/252.html
Regards,
Markus
Powered by blists - more mailing lists