summarylogtreecommitdiffstats
path: root/perl-5-33-7.patch
diff options
context:
space:
mode:
authorMatt Day2021-05-29 07:23:03 +0000
committerMatt Day2021-05-29 07:23:03 +0000
commit43bcb6c91e75f84c2c752f8a46f42d774a781b98 (patch)
tree64218383177b3a708e37da83d80d06dbd04d3fdd /perl-5-33-7.patch
parent6a95be8032acc646df8ee8759177dd92c7be7bba (diff)
downloadaur-43bcb6c91e75f84c2c752f8a46f42d774a781b98.tar.gz
Added fix for https://github.com/Perl/perl5/issues/18617
Diffstat (limited to 'perl-5-33-7.patch')
-rw-r--r--perl-5-33-7.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/perl-5-33-7.patch b/perl-5-33-7.patch
new file mode 100644
index 000000000000..f0c588061775
--- /dev/null
+++ b/perl-5-33-7.patch
@@ -0,0 +1,11 @@
+--- src/modules/perl/modperl_perl.c 2021/04/20 13:48:02 1889013
++++ src/modules/perl/modperl_perl.c 2021/04/20 13:55:29 1889014
+@@ -268,7 +268,7 @@
+ #ifdef MP_NEED_HASH_SEED_FIXUP
+ if (MP_init_hash_seed_set) {
+ #if MP_PERL_VERSION_AT_LEAST(5, 17, 6)
+- memcpy(&PL_hash_seed, &MP_init_hash_seed,
++ memcpy(PL_hash_seed, &MP_init_hash_seed,
+ sizeof(PL_hash_seed) > sizeof(MP_init_hash_seed) ?
+ sizeof(MP_init_hash_seed) : sizeof(PL_hash_seed));
+ PL_hash_seed_set = MP_init_hash_seed_set;