Commit Graph

917 Commits

Author SHA1 Message Date
Petr Písař
6a620bdc9d Avoid undefined behavior when copying memory in Glob and pp_caller (RT#131746) 2018-01-10 14:07:13 +01:00
Petr Písař
ef39cf486c Expand system() arguments before a fork 2018-01-10 14:07:13 +01:00
Petr Písař
4440ffe366 Fix tainting of s/// with overloaded replacement 2018-01-10 14:07:13 +01:00
Petr Písař
f9337f705b Fix setting $! when statting a closed filehandle 2018-01-10 14:07:10 +01:00
Petr Písař
acce317536 Fix stack manipulation when a lexical subroutine is defined in a do block in as a member of an iteration list 2018-01-10 14:06:28 +01:00
Petr Písař
04fb749292 Fix error reporting on do() on a directory 2018-01-10 14:03:42 +01:00
Petr Písař
1a6038ddc1 Fix deparsing of transliterations with unprintable characters 2018-01-09 15:54:15 +01:00
Petr Písař
304000db79 Fix a crash when untying an object witout a stash 2018-01-09 15:46:55 +01:00
Petr Písař
1f7cdc64d9 Fix an overflow when parsing a character range with no preceding character 2018-01-09 15:35:16 +01:00
Petr Písař
0f64d90212 Fix walking symbol table for ISA in Carp 2018-01-09 15:03:45 +01:00
Petr Písař
948d6b9daf Fix an overflow when parsing a character range with no preceding character 2018-01-09 14:56:47 +01:00
Petr Písař
f46fc910fa Fix a crash when a match for inversely repeated group fails 2018-01-09 13:56:59 +01:00
Petr Písař
bc8f6a5d83 Fix Term::ReadLine not to create spurious &STDERR files 2018-01-09 13:38:07 +01:00
Petr Písař
88dd9e56b3 Fix an overflow in the lexer when reading a new line 2018-01-09 13:22:15 +01:00
Petr Písař
fca4148414 Remove invalid macro definitions from macros.perl
From: Panu Matilainen <pmatilai@redhat.com>

These two lines are trying to redefine macro named "global", which is
obviously wrong, but additionally the thing they're *trying* to do is also
wrong in rpm >= 4.9 world, so best just remove them.
2018-01-09 12:52:29 +01:00
Jitka Plesnikova
927bf01f13 Change version of JSON-PP to not beat dual-life package 2017-10-04 16:54:58 +02:00
Jitka Plesnikova
e0341ff757 Update perl(:MODULE_COMPAT) 2017-09-25 16:05:10 +02:00
Jitka Plesnikova
b9ca5b6ecc 5.26.1 bump 2017-09-25 13:01:39 +02:00
Petr Písař
5fbdf1697c Do not require $Config{libs} providers by perl-devel package
This reverts:

commit f2346c8746
Author: Petr Písař <ppisar@redhat.com>
Date:   Thu Jun 6 16:17:26 2013 +0200

    Require $Config{libs} providers

$Config{libs} and $Config{perlibs} documents how perl was built. Not how
another XS modules should be built
<https://www.nntp.perl.org/group/perl.perl5.porters/2017/08/msg245959.html>.
2017-08-22 10:01:03 +02:00
Petr Písař
2510e877e6 Fix unreliable Time-HiRes tests 2017-08-22 09:54:15 +02:00
Petr Písař
b2681c6578 Link libresolv.patch to a bug report 2017-08-17 08:07:10 +02:00
Petr Písař
724df1cb5a Fix GCC version detection for -D_FORTIFY_SOURCE override 2017-08-09 16:18:34 +02:00
Petr Písař
0721cd5f0e Fix compiler warnings in code generated by ExtUtils::Constant 2017-08-09 16:10:08 +02:00
Petr Písař
a0ea65ae26 Fix splitting non-ASCII strings if unicode_strings feature is enabled 2017-08-09 15:23:51 +02:00
Petr Písař
2d9a38d99f Fix handling attribute specification on our variables 2017-08-09 14:39:31 +02:00
Petr Písař
f5d76e71ba Fix executing arybase::_tie_it() in Safe compartement 2017-08-09 14:24:13 +02:00
Petr Písař
5530822d05 Provide perl(:WITH_64BIT)
We build perl with 64-bit integeres since 5.26.0. This provide can be
used as a dependency for this feature. Some packages (e.g. perl-Mango)
require this feature.
2017-08-09 13:55:58 +02:00
Petr Písař
b8bcb94470 Fix error message for "our sub foo::bar" 2017-08-09 13:52:25 +02:00
Petr Písař
30fdce8a32 Fix select called with a repeated magical variable 2017-08-09 13:44:53 +02:00
Petr Písař
efc8e989ed Do not display too many bytes when reporting malformed UTF-8 character 2017-08-09 13:30:33 +02:00
Petr Písař
a501e07f4e Parse caret variables with subscripts as normal variables inside ${...} escaping 2017-08-08 15:57:20 +02:00
Petr Písař
fdecf9dd4a Fix t/op/hash.t test random failures 2017-08-08 15:55:16 +02:00
Petr Písař
4a2738185b Fix File::Glob rt131211.t test random failures 2017-08-08 15:38:04 +02:00
Petr Písař
e0456df3dc Fix reporting malformed UTF-8 character 2017-08-08 15:07:13 +02:00
Petr Písař
603cb80068 Move all comments from /sbin/ldconfig %postun script
rpmbuild passes all lines between %postun and next section (%files) to
script body. Including comments. And /sbin/ldconfig does not skip
comments and complains when upgrading perl-libs package:

/sbin/ldconfig: relative path `1' used to build cache
warning: %postun(perl-libs-4:5.26.0-397.fc27.x86_64) scriptlet failed, exit status 1

We must keep the lines literally empty.
2017-08-08 14:12:40 +02:00
Igor Gnatenko
cb5a1964be Enable separate debuginfo back
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-29 10:36:03 +02:00
Fedora Release Engineering
687ba4ca25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 02:23:17 +00:00
Igor Gnatenko
04b4431b98 Disable debuginfo-per-subpackage generation for now due to RPM bug
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-07-25 23:58:56 +02:00
Petr Písař
3f7d1e5123 Remove obsolete Group tags 2017-07-14 10:46:40 +02:00
Petr Písař
5d2d98f2b2 perl package installs all core modules
This commit renames perl to perl-interprer and perl-core to perl.
2017-07-14 10:46:40 +02:00
Petr Písař
b359f737be perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-12 14:55:23 +02:00
Petr Písař
d3e98ce204 Provide perl-interpreter RPM dependency symbol
The perl-interpreter will turn into a normal package in the future.
2017-06-19 14:49:34 +02:00
Petr Písař
85a4c68d18 Fix spurious "Assuming NOT a POSIX class" warning 2017-06-19 14:03:21 +02:00
Petr Písař
f7e5d464be Fix a conditional jump on uninitilized memory in re_intuit_start() 2017-06-19 13:54:45 +02:00
Petr Písař
4b937ffd49 Fix handling backslashes in PATH environment variable when executing "perl -S" 2017-06-16 15:32:59 +02:00
Petr Písař
938de5960e Fix a buffer overflow in my_atof2() 2017-06-16 15:24:31 +02:00
Petr Písař
73bead49db Fix UTF-8 flag on a glob reassignment 2017-06-16 15:23:50 +02:00
Petr Písař
f5f43f18f9 Fix cloning :via handles on thread creation 2017-06-16 14:48:27 +02:00
Petr Písař
1e8061ae22 Fix improper casting of a negative interger to unsigned eith-bit type 2017-06-16 14:36:30 +02:00
Petr Písař
9900371245 Fix a crash when calling a subroutine from a stash 2017-06-16 14:14:17 +02:00
Petr Písař
034407d342 Make File::Glob more resistant against degenerative matching 2017-06-16 13:46:55 +02:00
Jitka Plesnikova
1ad8b2225f Stop providing old perl(MODULE_COMPAT_5.24.*) 2017-06-07 13:57:15 +02:00
Jitka Plesnikova
59397e34d7 5.26.0 bump; Update sub-packages; Update or remove patches 2017-06-02 08:17:46 +02:00
Petr Písař
b14a87313b Introduce build-conditions for groff, systemtap, syslog tests, and tcsh
This allows to build perl without need of groff etc.

groff and systemtap are enabled by default. syslog tests are disabled
by default because they only polute system log. tcsh is disabled by
default because it seems unneeded (and might be removed completely).
2017-04-03 10:06:46 +02:00
Petr Písař
7cb6cbb4a7 Fix a heap-use-after-free in four-arguments substr call 2017-03-08 15:23:08 +01:00
Petr Písař
c63d747d11 Fix an invalid memory read when parsing a loop variable 2017-03-08 15:23:08 +01:00
Petr Písař
d61d60edb3 Fix a memory leak leak in Perl_reg_named_buff_fetch() 2017-03-08 15:23:08 +01:00
Petr Písař
32d6785b6d Fix an use-after-free in substr() that modifies a magic variable 2017-03-08 15:23:08 +01:00
Petr Písař
2f5d87ed75 Fix a null-pointer dereference on malformed code 2017-03-08 15:23:00 +01:00
Petr Písař
b39bdfd34d Fix a memory leak in list assignment from or to magic values 2017-02-17 13:47:29 +01:00
Petr Písař
044da6a72d Fix a heap buffer overflow when evaluating regexps with embedded code blocks from more than one source 2017-02-17 13:47:22 +01:00
Petr Písař
25eec2bc83 Adapt Compress::Raw::Zlib to zlib-1.2.11 2017-02-17 12:24:05 +01:00
Petr Písař
2fa0b0b374 Fix a buffer overflow when studying some regexps repeatedly 2017-02-10 11:44:16 +01:00
Petr Písař
b79329e9cf Fix a buffer overrun with format and "use bytes" 2017-02-10 11:44:11 +01:00
Petr Písař
83a50fdcff Fix a crash when compiling a regexp with impossible quantifiers 2017-02-10 11:43:35 +01:00
Petr Písař
ccd8d520b4 Adapt tests to zlib-1.2.11 2017-02-10 09:55:36 +01:00
Petr Písař
4890b78564 Fix a heap overlow in parsing $# 2017-01-26 14:16:42 +01:00
Petr Písař
affaa4c7f0 Fix parsing goto statements in multicalled subroutine 2017-01-26 13:34:02 +01:00
Petr Písař
d1db9a0791 Fix a memory leak in B::RHE->HASH method 2017-01-26 13:16:39 +01:00
Petr Písař
de55dc7e45 Fix recreation of *:: 2017-01-26 13:08:18 +01:00
Petr Písař
4175dcd036 Fix UTF-8 string handling in & operator 2017-01-26 12:04:32 +01:00
Petr Písař
7123c928a4 Fix out-of-bound read in case of unmatched regexp backreference 2017-01-20 10:42:00 +01:00
Petr Písař
abd9ed8e7e Fix a heap overflow if invalid octal or hexadecimal number is used in transliteration expression 2017-01-20 10:26:26 +01:00
Petr Písař
64c060a679 Fix a use-after-free when processing scalar variables in forms 2017-01-20 10:19:41 +01:00
Petr Písař
96616c59c9 Fix a heap overflow with pack "W" 2017-01-20 09:52:23 +01:00
Petr Písař
c33285d987 Fix a buffer overflow in split in scalar context 2017-01-20 09:42:13 +01:00
Petr Písař
2d983c0871 Normalize perl-File-Temp version 2017-01-19 15:34:13 +01:00
Jitka Plesnikova
bd9339be54 5.24.1 bump 2017-01-16 12:28:00 +01:00
Igor Gnatenko
a5af0c2d4e Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:36 +01:00
Petr Písař
98fe061fe3 Remove bundled bignum 2017-01-06 10:36:37 +01:00
Petr Písař
9338edd126 Remove bundled Math-BigRat 2017-01-06 10:27:13 +01:00
Petr Písař
260c5ba45c Remove bundled Math-BigInt-FastCalc 2017-01-06 10:15:16 +01:00
Petr Písař
7b8c12cb92 Fix regular expression matching 2016-12-19 13:18:52 +01:00
Petr Písař
0b127f245a Fix a memory leak in IO::Poll 2016-12-19 13:15:01 +01:00
Petr Písař
4599430ffb Fix a crash in optimized evaluation of "or ((0) x 0))" 2016-12-19 12:43:58 +01:00
Petr Písař
bfea7ab5df Fix const correctness in hv_func.h 2016-12-01 08:03:27 +01:00
Petr Písař
8fcd2745c8 Fix assigning split() return values to an array 2016-12-01 07:57:58 +01:00
Petr Písař
8da6077616 Tighten dependencies between architecture specific sub-packages to ISA 2016-11-28 14:54:45 +01:00
Petr Písař
41b63f7330 Fix crash on explicit return from regular expression substitution 2016-11-28 14:29:12 +01:00
Petr Písař
2a293b3799 Fix crash in Storable when deserializing malformed code reference 2016-11-28 14:19:41 +01:00
Petr Písař
592810058a Document perl-129130-make-chdir-allocate-the-stack-it-needs.patch patch 2016-11-28 14:19:02 +01:00
Petr Písař
468152e799 Tie perl-Errno release to interpreter build because of kernel version check
If user updates the his system only partially so that perl-Errno does
not match perl-libs and the two were built on different kernel, using
Errno will fail:

Errno architecture (x86_64-linux-thread-multi-4.7.9-200.fc24.x86_64) does not match executable architecture (x86_64-linux-thread-multi-4.6.4-301.fc24.x86_64) at /usr/lib64/perl5/Errno.pm line 11.
2016-11-09 15:46:37 +01:00
Petr Písař
97b9d9c092 Fix stack handling when calling chdir without an argument 2016-11-03 15:02:06 +01:00
Petr Písař
62440eed42 Avoid infinite loop in h2xs tool if enum and type have the same name 2016-11-03 14:49:51 +01:00
Petr Písař
281d2faaad Fix firstchar bitmap under UTF-8 with prefix optimization 2016-11-03 14:06:55 +01:00
Petr Písař
dee7e92b27 Fix parsing perl options in shell bang line 2016-11-03 13:15:32 +01:00
Petr Písař
20d4f3847b Fix crash when matching UTF-8 string with non-UTF-8 substrings 2016-11-03 13:04:02 +01:00
Petr Písař
50a3de5ad0 Fix string overrun in Perl_gv_fetchmethod_pvn_flags 2016-11-03 11:04:46 +01:00
Petr Písař
e947d78f10 Fix crash in splice 2016-11-03 11:04:39 +01:00
Petr Písař
896d33a2d0 Fix crash in "evalbytes S" 2016-11-03 11:03:13 +01:00