Skip to content
Commit eaf3f569 authored by Peter Collingbourne's avatar Peter Collingbourne
Browse files

ELF: Don't process the partition end marker during combineEhSections().

Otherwise the getPartition() accessor may return an OOB pointer. Found
using _GLIBCXX_DEBUG.

The error is benign (we never dereference the pointer for the end marker)
so this wasn't caught by e.g. the sanitizer bots.

llvm-svn: 363026
parent e5bdedac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment