[Bug sanitizer/68299] New: [5/6 Regression] runtime error: member call on null pointer of type 'const struct __lambda0'
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 11 16:56:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68299
Bug ID: 68299
Summary: [5/6 Regression] runtime error: member call on null
pointer of type 'const struct __lambda0'
Product: gcc
Version: 5.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: redi at gcc dot gnu.org
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org
Target Milestone: ---
int main()
{
void(*p)() = +[] { };
p();
}
$ g++ -fsanitize=undefined ub.cc
$ ./a.out
ub.cc:3:22: runtime error: member call on null pointer of type 'const struct
__lambda0'
More information about the Gcc-bugs
mailing list