]> Git Repo - J-u-boot.git/commit - boot/bootflow.c
bootstd: Handle a few special cases in cmdline_set_arg()
authorSimon Glass <[email protected]>
Tue, 24 Oct 2023 18:17:36 +0000 (07:17 +1300)
committerTom Rini <[email protected]>
Wed, 1 Nov 2023 16:26:44 +0000 (12:26 -0400)
commit19248dcec53d19184ce1207962edd54109d28b01
treede9df100693120473e7275c0c8f2bb16ac8aaa9a
parentf2bfa0cb17948aa4a0fa20fdf9014296b9c4d9c7
bootstd: Handle a few special cases in cmdline_set_arg()

Two bugs have appeared:

- arguments can have an equals sign embedded in them, which must be
  considered part of the value
- arguments must fully match the name; partial matches should be
  ignored

Fix these and add a test to cover both.

Signed-off-by: Simon Glass <[email protected]>
boot/bootflow.c
test/boot/bootflow.c
This page took 0.030197 seconds and 4 git commands to generate.