summaryrefslogtreecommitdiffstats
path: root/hdata/test/hdata_to_dt.c
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-03-18 16:52:17 +1100
committerStewart Smith <stewart@linux.ibm.com>2019-03-20 14:27:08 +1100
commitc0faa923216836d25ed55c030cd576bbac3ca1d3 (patch)
treefcafaa083eb26f3144c856b5d2574a1329b1bad2 /hdata/test/hdata_to_dt.c
parentfedb949b71795512a38dc2fa6d71a3371a7d8975 (diff)
downloadblackbird-skiboot-c0faa923216836d25ed55c030cd576bbac3ca1d3.tar.gz
blackbird-skiboot-c0faa923216836d25ed55c030cd576bbac3ca1d3.zip
hdata: Add protection against corrupt ntuples structure
Found using afl-lop on P9 HDAT. Pretty obvious what the problem is once you look at it, and it's much better having a controlled failure mode than just going off randomly into memory and segfaulting. Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hdata/test/hdata_to_dt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud