Re: [PATCH v2] tools/bootconfig: Completion of error handling

From: Markus Elfring
Date: Fri May 08 2020 - 04:24:31 EST


â
> +++ 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