Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
commit "locale.c: Make locale collation predictions adaptive" causes gt op SIGFPE #15439
Created by @bulk88
The commit above causes these 2 oneliners to SIGFPE, the commit right
..\miniperl -I..\lib -e"use locale; '' gt ''"
..\perl -I..\lib -e"use locale; '' gt ''"
crashing callstack with blead line numbers
perl525.dll!Perl__mem_collxfrm(interpreter * my_perl=0x003843dc,
I found this SEGV because /lib/locale.t crashed at
The divide by zero happens on line
because length_in_chars is 0. See attached C debugger pic for details on