[PATCH] D36138: [ELF] - Don't segfault when accessing location counter inside MEMORY command.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 05:55:28 PDT 2017


ruiu added a comment.

`CurAddressState` is used at various places in this file, and it doesn't seem like this is the only place that you can trigger a null pointer access. Are you sure that this fix is enough?


https://reviews.llvm.org/D36138





More information about the llvm-commits mailing list