diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-06-23 09:23:00 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-08-26 12:52:19 +0200 |
commit | c170240d3e5fb5cd134790dfc0c6e474fc0e6706 (patch) | |
tree | e3fee9e49c89f93ee29dcc0f0764865d84d287c2 /images/Makefile.imx | |
parent | 546c5a9c788eb63f3e3a0ed74f6498cc19c2b07d (diff) | |
download | barebox-c170240d3e5fb5cd134790dfc0c6e474fc0e6706.tar.gz barebox-c170240d3e5fb5cd134790dfc0c6e474fc0e6706.tar.xz |
param_enum: protect against invalid values
Since dev_add_param_enum is passed a pointer containing the actual value
it can contain an invalid value. Protect against it so that we do not
access invalid array elements.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'images/Makefile.imx')
0 files changed, 0 insertions, 0 deletions