summaryrefslogtreecommitdiff
path: root/lib/crypto/mscode_parser.c
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2026-07-03 17:11:25 +0800
committerTom Rini <[email protected]>2026-07-16 12:03:05 -0600
commit65e1e66a3a38e21128582bec3b93c35548e60687 (patch)
tree0c05a5d7b9bfed1663b30f8d930489134ccf9e84 /lib/crypto/mscode_parser.c
parente871bb2463fbd6c06b6d771d9201c6d6f4abf947 (diff)
dm: core: fix wrong strlen check in of_add_subnode
The duplicate-name check uses strlen on the search name instead of the child name, so a child named "trevor" would falsely match a search for "trev". Fix by checking strlen of child->name. Signed-off-by: Peng Fan <[email protected]> Reviewed-by: RaphaĆ«l Gallais-Pou <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'lib/crypto/mscode_parser.c')
0 files changed, 0 insertions, 0 deletions