On Wed, 10 Jun 2026 19:24:40 +0530, Vivek Ray wrote:
> The configure_env() function copies root compatible strings into a
> 32-byte buffer prior to parsing. If a compatible string exceeds this
> limit, strlcpy() silently truncates it, producing a malformed fdtfile
> path and a silent boot failure with no indication of the root cause.
> 
> Bump buf[] to 128 bytes and dt_path[] to 256 bytes to accommodate longer
> compatible strings. Also, add explicit truncation checks after both
> strlcpy() calls and emit a log_warning() with the offending compatible
> string to make such failures easier to diagnose.
> 
> [...]

Applied, thanks!

[1/1] arm: mach-snapdragon: increase compat buffer size and warn on root 
compatible string truncation
      
https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/commit/17943d4d08e0

Best regards,
-- 
Casey Connolly <[email protected]>

Reply via email to