diff options
| author | Mark Wielaard <[email protected]> | 2015-01-05 00:12:53 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2015-01-15 14:23:20 +0100 |
| commit | 975a37d11d1a14229ada9293fac88a493bf83cfa (patch) | |
| tree | 417c91f9944231730dddb14e56518709c2442811 /libdw/encoded-value.h | |
| parent | 43e924ee0bb01576cb30a7069ad9183e55b1093b (diff) | |
libdwfl: Handle seeing CU EOF marker without any other (real) CU.
intern_cu (and __libdwfl_nextcu) didn't correctly handle immediately seeing
the CU EOF marker. In that case the *nextp pointer (first_cu) returned by
intern_cu is -1. And less_layzy will immediately destroy the found CU node.
So don't use the *found result after calling less_lazy.
Found by afl-fuzz.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libdw/encoded-value.h')
0 files changed, 0 insertions, 0 deletions
