Re: [PATCH] scripts/sbom: catch ValueError from malformed shell quoting
From: Carlos Sampaio Ribeiro
Date: Sun Jul 19 2026 - 03:42:05 EST
On Sun, Jul 19, 2026 at 02:24:17AM -0300, Greg KH wrote:
> Do we have this today in the build system?
Sorry for my previous reply only to you.
I'm still learning the Linux kernel mailing list workflow.
The code path exists in the current implementation because the SBOM
generator parses the .cmd files generated by Kbuild.
However, I have not observed malformed .cmd files produced by a normal
kernel build. My intention with this patch was to make the parser behave
consistently in tolerant mode (fail_on_unknown_build_command=False) when
given malformed or corrupted inputs, rather than to fix an issue known to
occur during standard kernel builds.
Thanks,
Carlos