summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-06-23 09:23:00 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-08-26 12:52:19 +0200
commitc170240d3e5fb5cd134790dfc0c6e474fc0e6706 (patch)
treee3fee9e49c89f93ee29dcc0f0764865d84d287c2 /drivers
parent546c5a9c788eb63f3e3a0ed74f6498cc19c2b07d (diff)
downloadbarebox-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 'drivers')
0 files changed, 0 insertions, 0 deletions