On Wed, 17 Dec 2025 20:57:38 +0100, Marek Vasut wrote:

> Avoid NULL pointer dereference in case 'env select' is invoked
> without parameters, check the arg count and make sure it is at
> least 2, otherwise print usage.
> 
> The crash is easy to trigger e.g. in sandbox:
> $ ./u-boot -Tc "env select"
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] cmd: nvedit: Validate argument count before use
      commit: 2333d446b7b133ddfb9dea2d53996d560796ecd9
-- 
Tom


Reply via email to