summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Fix memory leak in Encode.xs"maint-5.10Chris 'BinGOs' Williams2013-03-071-4/+4
| | | | | | Because it breaks Win32 This reverts commit 27a6588a70ffa9e9000ca20f266a92f93cbf1a78.
* Fix memory leak in Encode.xsChris 'BinGOs' Williams2013-03-071-4/+4
|
* Prevent premature hsplit() calls, and only trigger REHASH after hsplit()Yves Orton2013-02-131-2/+16
| | | | | | | | | | | | | | Triggering a hsplit due to long chain length allows an attacker to create a carefully chosen set of keys which can cause the hash to use 2 * (2**32) * sizeof(void *) bytes ram. AKA a DOS via memory exhaustion. Doing so also takes non trivial time. Eliminating this check, and only inspecting chain length after a normal hsplit() (triggered when keys>buckets) prevents the attack entirely, and makes such attacks relatively benign. (cherry picked from commit f2a571dae7d70f7e3b59022834d8003ecd2df884) (which was itself cherry picked (with changes) from commit f1220d61455253b170e81427c9d0357831ca0fac)
* bump Safe version to 2.18David Mitchell2009-08-221-1/+1
| | | | (cherry picked from commit 6bc059100668dd5718368f9434a2a238d039b78e)
* more excising of const deparsing from maintDavid Mitchell2009-08-171-15/+1
| | | | (Unexpected TODO succeedng seems to be confusing the smoke output)
* [perl #68530] "version::CLASS" warning in Safe.pmDavid Mitchell2009-08-171-2/+4
| | | | | | | | | If any of the std variables being aliased into the Safe::rootN package don't actually exist, and if they are not one of the special "don't warn" variables, then you can get an 'only used once' warning. So lets not. (Also bumps version number). (cherry picked from commit a930c511fcc6cf6f5ef849a9a4a028ff1cd6e27a)
* remove final traces of constant deparsingDavid Mitchell2009-08-161-2/+2
| | | | (ef0c5631d3 missed reverting a bit of 2990415a45)
* Remove constant deparsing from 5.10.1David Mitchell2009-08-162-50/+1
| | | | | | | | | | This was added post-5.10.0, but adds a significant perfomance penalty to all deparsing. Remove for now, and maybe add back in a later 5.10.x if it can be fixed. The original code was added to blead with 2990415a4519bc3988d7224ae15100c3e9e901ee with a lot of follow-up tweaks.
* ameliorate B::Deparse slowdownDavid Mitchell2009-08-121-4/+9
| | | | | | | | | commit 2990415a45 improved the ability to deparse inlined constants, but at the cost of having to walk all the symbol tables when each new B::Deparse object is created. Make this scan instead only happen the first time its needed. (cherry picked from commit 805b10112885d8868f21f8e860792d65e1e6c19d)
* Upgrade to Encode 2.35Rafael Garcia-Suarez2009-07-135-35/+72
| | | | (cherry picked from commit 03c97657d956dea96e5d0f6153cf59094a55c6b1)
* Encode 2.34David Mitchell2009-07-135-23/+140
| | | | (cherry picked from commit 1a1e8f7d433e70884ebe2651b04785ff7f5161ad)
* Fix compiler warning when cuserid is absent and sizeof(int) != sizeof(pointer)Tim Jenness2009-07-101-4/+9
| | | | | | | | | | | | | | | | | | | | | The attached patch fixes a compilation warning from POSIX.xs when cuserid is missing and ints and pointers have different size. eg on Mac OSX when using 64-bit mode. gcc-4.2 -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include -O3 -g -DVERSION=\"1.17\" -DXS_VERSION=\"1.17\" "-I../.." POSIX.c POSIX.c: In function 'XS_POSIX_cuserid': POSIX.c:4096: warning: cast to pointer from integer of different size Running Mkbootstrap for POSIX () chmod 644 POSIX.bs rm -f ../../lib/auto/POSIX/POSIX.bundle Also relevant for 5.10.1. Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl> (cherry picked from commit 56f4542c0225628c386228d839cd4db214424a79)
* rebump Hash::Util::FieldHash from 1.03_01 to 1.04David Mitchell2009-07-071-1/+1
| | | | | | (it's not dual-lived so there's no need for a devel version number) (cherry picked from commit 56bfbabc023f598a31042cdcb1e56e9a2d182749)
* Revert "temporary hack to make Win32API-File build under maint"David Mitchell2009-07-071-2/+1
| | | | | | This reverts commit 00e0b152e4ddec7f51f78e3de2d4aeb0232d647e. should not longer be needed now EU::MM 6.53_03 is here
* temporary hack to make Win32API-File build under maintDavid Mitchell2009-07-031-1/+2
| | | | should be removed after MakeMaker 6.54 is added
* bump attrs version to distiguish it from 5.10.0David Mitchell2009-07-031-1/+1
| | | | | (attrs has been removed from blead, which is why this is being done directly to maint)
* down-bump some non-dual-life module versions:David Mitchell2009-07-031-1/+1
| | | | | | followup to cherry-pick of 438ec3d083eb1eea26cc4a6b8a3446af3b8cfccd, where there are differences between 5.10/0/5.8.9, maint and bleed, and bleed is two version increments ahead of 5.10.0; make maint one ahead.
* bump versions of non-dual-life modules thatDavid Mitchell2009-07-033-3/+3
| | | | | | | * differ between 5.10.0 and maint-5.10, or * differ between 5.8.9 and maint-5.10 (cherry-picked from commit af048c18889d4232ba48aa87bdd20a2320723b43)
* Allow typed arrays and hashesVincent Pit2009-07-031-0/+20
| | | | | (Just the Attribute-Handlers test cherry-picked from d5e98372e6efc414e818f1ed2d33156eb6ca6200)
* Revert "Bump Module-Pluggable VERSION followingDavid Mitchell2009-07-031-1/+1
| | | | | | | | | | | 4a28828fc8f160c18323be1125f0f8473bcd000f" (There is no need to bump the version number for just a core-specific Makefile.PL hack) This reverts commit 53102b2bf304e114abfc50b0b9efcd8bbcab5c41. (cherry picked from commit d0eaab344ab79c51129625f6ef622217d10034cc)
* Update to Scalar-List-Utils-1.21 from CPANGraham Barr2009-07-0325-243/+814
| | | | (cherry picked from commit 2ff286160a117d4e93cd92474de1931baa671032)
* Silence warnings in test with 5.10.0Rafael Garcia-Suarez2009-06-301-0/+3
| | | | (cherry picked from commit 40b9d4d925a92009ab916e8557c333c6e9e5d0ca)
* Bump Safe version to 2.17 for CPAN releaseRafael Garcia-Suarez2009-06-301-1/+1
| | | | (cherry picked from commit 03dbc343c8be5c169c9c735909ab35d3bbf05a0b)
* Patch by Tod Hagan to document the 2nd argument of reval() in Safe.pmRafael Garcia-Suarez2009-06-301-2/+6
| | | | | | p4raw-id: //depot/perl@34222 (cherry picked from commit fd8ebd06d0bf43876c887191f4ff165ae9772eb3)
* upgrade to Time::Piece 1.15David Mitchell2009-06-282-2/+6
| | | | (cherry picked from commit 6653081c26e47ff513afff9907ee295b58e4ccd8)
* Skip test for changing TZ if running in a pseudo-fork (on Win32)Steve Hay2009-06-282-2/+11
| | | | | | | | | Changing $ENV{TZ} and calling tzset() is documented not to work on Win32 in any thread other than the main thread, which includes the emulated fork() on Win32 (used by cpantesters?). Mention fork() in the caveats and skip the test in this case. (cherry picked from commit 8177d4d97c5035e1ca045371b1be47a2ef66ec1d)
* bump Dynaloader to 1.10 to distinguish it from the 5.8.9 releaseDavid Mitchell2009-06-281-1/+1
| | | | (cherry picked from commit 4e390bd81a04c93af4486d2d05c5ca2b02e5ed0c)
* As Errno is formally no longer dual-lived, give it a proper version number.Nicholas Clark2009-06-271-1/+1
| | | | (cherry picked from commit 27abe0f1948a5723ae5e7a612239579a589bf012)
* Upgrade to threads::shared 1.29Jerry D. Hedden2009-06-2320-86/+6
| | | | (cherry picked from commit 63790022394e4278430e337fa8d8576711061741)
* Upgrade to Devel::PPPort 3.19Marcus Holland-Moritz2009-06-2316-11/+30
| | | | (cherry picked from commit 423174046424f87a68e7227cd8015f1926fede2d)
* Upgrade to Devel::PPPort 3.18_01Marcus Holland-Moritz2009-06-2318-29/+497
| | | | (cherry picked from commit 8565c31a574ba4f7dc8cd69b66988949074e120d)
* Update to Data::Dumper 2.124Steffen Mueller2009-06-232-2/+6
| | | | | | ... which includes all test files that blead had and CPAN did not. (cherry picked from commit 20fc10417a2e591867f81f2d35a64a646135e115)
* Update to IO-1.25 from CPANGraham Barr2009-06-237-43/+60
| | | | (cherry picked from commit 7475ca45e9b012ecdbb210a4c83732a8bee17c9c)
* Update IO to CPAN 1.24 releaseGraham Barr2009-06-233-4/+70
| | | | (cherry picked from commit eb1c4873a4d2b3d386b680baf0b251a75d67e654)
* [perl #63234] [DOC PATCH] fix some missing parts of IO::Handle podZsban Ambrus2009-06-231-4/+5
| | | | | | | | This documents the previously undocumented fcntl and ioctl methods, and adds a see also to the IO::File module where the documentation refers to one of its methods. (cherry picked from commit 2b93ed3263b8b063954e409dedd232e5b362a927)
* Implement IO::Handle::say the same way as the builtin say().Gisle Aas2009-06-231-2/+2
| | | | | | | IO::Handle::say used to output $, before the newline. p4raw-id: //depot/perl@34384 (cherry picked from commit 5eb30066fe9d342a31fbfdb741041326bde4087b)
* Bump version of IO::Dir after last patchRafael Garcia-Suarez2009-06-231-1/+1
| | | | | | p4raw-id: //depot/perl@33984 (cherry picked from commit 6f86311fbdd3b75e40d98b74ffba510124459a75)
* IO::Dir destructorZefram2009-06-231-0/+1
| | | | | | | | Message-ID: <20070907220636.GB24543@fysh.org> p4raw-id: //depot/perl@33983 (cherry picked from commit bc3f1c14f93bf857a045b618293617218d759095)
* IO::Handle->say should ignore $\ (bug #49266)Rafael Garcia-Suarez2009-06-231-1/+2
| | | | | | p4raw-id: //depot/perl@33258 (cherry picked from commit 7b0f711abd55488cc790ac95f935f46d630a87bb)
* Upgrade to Time-Piece-1.14Steve Hay2009-06-122-2/+7
| | | | (cherry picked from commit 5f320ac74440f7b17e30890d0ed2c920d7301549)
* sync ext/Text-Soundex/README with the CPAN versionDavid Mitchell2009-06-121-37/+10
| | | | (cherry picked from commit 1edf8e51d749cc688006e65c45d210d69ed74c27)
* remove ext/Storable/MANIFEST; its out of date related to CPANDavid Mitchell2009-06-121-52/+0
| | | | | | and for most dual-life modules we don't bother including it in blead (cherry picked from commit e2868e48536e3f471e5ba483466cc1bc53caff5a)
* remove two files not part of the IO-Compress CPAN distroDavid Mitchell2009-06-122-32/+0
| | | | (cherry picked from commit 622d33709f65db8fa5187aa44bfd72d107fbe68e)
* fully sync blead with B::Debug 1.11 (debug.t was out of date)David Mitchell2009-06-121-5/+17
| | | | (cherry picked from commit 85da676d838429b10c2026947082857664e55cc7)
* Upgrade to Devel::PPPort 3.18Marcus Holland-Moritz2009-06-125-7/+14
| | | | (cherry picked from commit 55ae25dcfe5b5ecc6ac964f070b813004653dc4e)
* Document findsym in Attribute::HandlersDavid Wheeler2009-06-122-4/+25
| | | | | | | Also removes unused variable $found. Bumps Attribute::Handlers version to 0.85. (cherry picked from commit f2e81f84c325cbe2d33e0d7e73bb3ff32cb94dc0)
* Upgrade Attribute::Handlers to 0.84Steffen Mueller2009-06-126-9/+11
| | | | (cherry picked from commit 12c541f435c0fde6414e8942d051e05098e0253e)
* [PATCH] Filter-Util-Call (was RE: pmqs: dual life modules)Paul Marquess2009-06-121-8/+14
| | | | (cherry picked from commit af6a0f9e3d4aacb66f6fd0d20aa527ab7d9a9032)
* Upgrade to MIME-Base64-3.08Gisle Aas2009-06-125-11/+15
| | | | (cherry picked from commit dfed8d37710c8ee747a9c1375201396b85ccaed2)
* Upgrade to Digest-MD5-2.39Gisle Aas2009-06-124-13/+17
| | | | (cherry picked from commit c8780a73668f93a1203363e8df5c0b9feb79a914)