Homec4science

Stop TestInfo::Run() calling a function through null pointer

Authored by Jonathan Wakely <jwakely@redhat.com> on Dec 23 2016, 02:56.

Description

Stop TestInfo::Run() calling a function through null pointer

If the object was never created then trying to call &Test::DeleteSelf_
will dereference a null pointer, with undefined behaviour.

Fixes #845

Details

Committed
Knut Omang <knut.omang@oracle.com>Feb 11 2019, 20:15
Pushed
trottetDec 4 2019, 13:52
Parents
R9484:9a502a5b14b4: Merge pull request #2100 from ngie-eign/test-clang-osx-every-travis-run
Branches
Unknown
Tags
Unknown

Event Timeline

Knut Omang <knut.omang@oracle.com> committed R9484:48e6f1f387e6: Stop TestInfo::Run() calling a function through null pointer (authored by Jonathan Wakely <jwakely@redhat.com>).Feb 11 2019, 20:15