]> git.dujemihanovic.xyz Git - u-boot.git/commit
env: Don't match empty variable name in env_match()
authorMarek Behún <marek.behun@nic.cz>
Sun, 17 Oct 2021 15:36:33 +0000 (17:36 +0200)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Oct 2021 18:50:48 +0000 (12:50 -0600)
commit6ba4473fb757e7606a4224d87774294c9d60d2cd
tree32ad464afe34d94d7917b6a2073ea434f97bcfd1
parentd1bca8d2a18eb4a850c0ecbc9327eb3dfa5df5e1
env: Don't match empty variable name in env_match()

Do we really allow zero-length variable name? I guess not.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/nvedit.c