bulk88
bulk88
**Description** Perl's global var PL_hash_state_w is 24608 bytes long on 32b Win32 blead perl. That is 24608/4096=6.0078 OS pages of memory. I can't imagine 24KB of randomness being somehow more...
```open()``` on a large scalar (MBs worth), with LF lines, NOT CRLF lines, then calling `````` aka pp_readline(), causes a mem leak and a fatal "Out of memory!" on 5.32....
Inside re.xs/re.dll, Perl_populate_bitmap_from_invlist() has half a dozen if(!invlist) _assert_libc() call sites. Atleast PERL_ARGS_ASSERT_POPULATE_BITMAP_FROM_INVLIST, invlist_iterinit(), invlist_iternext(), invlist_iterfinish() are all testing a C auto var that was proven inside PERL_ARGS_ASSERT_POPULATE_BITMAP_FROM_INVLIST to be...
GetFileType() has shortcuts, it first checks against -1 -2 -3, then checks against PEB's 3 master IN, OUT, ERR kernel handles, then checks if it is tagged/unaligned [open secret, not...
Part of PR https://github.com/Perl/perl5/pull/23371 see details in that PR
This array is 59 bytes long, and is rounded to 64 bytes of .rdata storage. While all commercial/big FOSS CCs will correctly discard this unreferenced array during link phase (.o/.obj...
Ever since threads and SMP motherboards were invented, C's grammer token errno has been a function call returning an int * and not a extern "C" global data variable. Whether...
Module: NOT!!!! Config.pm **Description** https://github.com/Perl/perl5/issues/21135 "Errno archname/osvers too strict. " I know this bug ticket is closed, but I totally disagree with this fix. $Config{archname} and $Config{osvers} should be be...
https://github.com/Perl/perl5/blob/d6f09a896842e5288af5d3817756b67a919ad7ad/regcomp.c#L396 I randomly found a multi-eval of a macro bug here, along with very low quality (bloated) "-O1 optimized" machine code here. But I can't fix it myself because there...
**Description** from sv.c ``` #ifndef SV_COW_MAX_WASTE_FACTOR_THRESHOLD # define SV_COW_MAX_WASTE_FACTOR_THRESHOLD 2 /* COW iff len < (cur * K) */ #endif #ifndef SV_COWBUF_WASTE_FACTOR_THRESHOLD # define SV_COWBUF_WASTE_FACTOR_THRESHOLD 2 /* COW iff len...