A null pointer dereference happens later in the program execution if
the files are cleaned up at the end of the ExecutableInfo constructor.
This change fixes the null pointer dereference.
---
tester/covoar/ExecutableInfo.cc | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git
ok -- imagine that, cleaning up resources in a destructor ;)
On Fri, Mar 12, 2021 at 10:06 AM Alex White wrote:
>
> A null pointer dereference happens later in the program execution if
> the files are cleaned up at the end of the ExecutableInfo constructor.
> This change fixes the null pointer de