Browse Source
In one place, fdtdump abuses fdt_set_magic(), passing it just a small char array instead of the full fdt header it expects. That's relying on the fact that in fact fdt_set_magic() will only actually access the first 4 bytes of the buffer. This trips a new warning in GCC 11 - and it's entirely possible it was always UB. So, don't do that. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>main
David Gibson
4 years ago
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue