On OpenBSD 6.0 the test t/exotic_names.t fails sometimes. (RT#117072)
authorAlexander Bluhm <alexander.bluhm@gmx.net>
Sat, 20 Aug 2016 05:57:13 +0000 (22:57 -0700)
committerKaren Etheridge <ether@cpan.org>
Sun, 11 Sep 2016 00:27:41 +0000 (17:27 -0700)
commitf90d35bed922539c764e57e02848e9e485e14242
tree6044f6005bde82ceff9d02730fdd5ae9be1245f7
parentf74d4993e17b094eec3769cbb177f66f8aa882a5
On OpenBSD 6.0 the test t/exotic_names.t fails sometimes. (RT#117072)

Program received signal SIGSEGV, Segmentation fault.
0x00000a9bf44b686a in XS_Sub__Name_subname (cv=Variable "cv" is not available.
) at Name.xs:72
72                      else if (*s && s[-1] == '\'') {

(gdb) print s
$1 = 0xa9c6d507000 "test::SOME_y_STASH::SOME_y_NAME"

With OpenBSD malloc randomisation the storage for nameptr is sometimes
at the beginning of the page.  Then accessing s[-1] with s == nameptr
is fatal.
Name.xs