Commit Graph

1021 Commits

Author SHA1 Message Date
Petr Písař
e7d6451704 Improve retrieving a scalar value of a variable modified in a signal handler 2019-06-25 16:47:32 +02:00
Petr Písař
28b3f8c52b Fix subroutine protypes to track reference aliases 2019-06-25 16:31:46 +02:00
Petr Písař
4298c8523d Prevent from wrapping a width in a numeric format string 2019-06-25 16:26:10 +02:00
Petr Písař
592c794ab8 Fix an erroneous assertion on OP_SCALAR 2019-06-25 16:11:22 +02:00
Petr Písař
67cb403909 Fix a crash with a negative precision in sprintf function 2019-06-25 16:01:49 +02:00
Petr Písař
2817041734 Fix a crash in SIGALARM handler when waiting on a child process to be closed 2019-06-25 15:44:32 +02:00
Petr Písař
a79662bb2b Fix stacking file test operators 2019-06-25 15:38:29 +02:00
Petr Písař
4fc5035c56 Fix an undefined behavior in shifting IV variables 2019-06-25 15:21:24 +02:00
Petr Písař
76d1bdbdfc Fix memory handling when parsing string literals 2019-06-25 15:05:03 +02:00
Petr Písař
9426796960 Do not panic when outputting a warning 2019-06-25 12:52:43 +02:00
Petr Písař
6684b08b37 Fix an out-of-buffer read while parsing a Unicode property name 2019-06-25 12:52:42 +02:00
Jitka Plesnikova
5cb5cda25d Define %%perl_vendor*, %%perl_archlib, %%perl_privlib, because in rpm 4.15 those are no longer defined 2019-06-12 11:18:58 +02:00
Jitka Plesnikova
43c5cd7e8e Perl 5.30 re-rebuild of bootstrapped packages 2019-06-02 21:38:35 +02:00
Jitka Plesnikova
35dbc000ee Make site paths specific to Perl minor version 2019-05-30 08:31:51 +02:00
Jitka Plesnikova
ffbaa94ebd Upgrade to 5.30.0 2019-05-30 08:30:30 +02:00
Jitka Plesnikova
51b53cd3f9 5.28.2 bump 2019-04-23 10:13:50 +02:00
Petr Písař
98c121bf78 Fix a memory leak when warning about malformed UTF-8 string 2019-04-05 18:08:01 +02:00
Petr Písař
86fd404cb1 Fix a crash when matching case insensitively 2019-04-05 18:03:45 +02:00
Petr Písař
1e4bec8baa Fix a memory leak when deletion in a tied hash dies 2019-04-05 17:40:24 +02:00
Petr Písař
3bd28c15ea Fix a memory leak in package name lookup 2019-04-05 17:26:16 +02:00
Petr Písař
4c2649c4bd Fix a memory leak when parsing misindented here-documents 2019-04-05 17:18:49 +02:00
Petr Písař
05bb37c036 Fix a memory leak when assignig to a localized ${^WARNING_BITS} 2019-04-05 17:11:59 +02:00
Petr Písař
4681935eb5 Fix a memory leak when assigning a regular expression to a non-copy-on-write string 2019-04-05 16:55:55 +02:00
Petr Písař
be29c61cdb Fix a memory leak when spawning threads in a BEGIN phase 2019-04-05 16:45:27 +02:00
Petr Písař
bf70c3addf Fix a memory leak when cloning a regular expression 2019-04-05 16:42:21 +02:00
Petr Písař
024cd9ef0d Fix mbstate_t initialization in POSIX::mblen 2019-04-05 16:29:18 +02:00
Petr Písař
d959a0725c Fix a buffer overread when parsing a regular expression with an unknown character name 2019-04-05 16:12:36 +02:00
Petr Písař
7d3f0728cf Fix a buffer overread when handling a scope error in qr/\(?{/ 2019-04-05 15:59:12 +02:00
Petr Písař
243ad0ccb9 Fix a leak when compiling a typed hash dereference 2019-04-05 15:53:49 +02:00
Petr Písař
d1f65a5ba7 libxcrypt-devel dependency is bug #1666098 2019-03-06 10:15:44 +01:00
Björn Esser
0fb8c35341
Add explicit Requires: libxcrypt-devel to devel sub-package 2019-03-05 18:08:57 +01:00
Petr Písař
4842f957bd Fix extending a stack in Perl parser 2019-02-22 14:21:10 +01:00
Petr Písař
6f58f5f5a8 Fix a race when loading XS modules 2019-02-22 14:20:40 +01:00
Petr Písař
c7f1ea5f86 Fix setting magic when changing $^R 2019-02-22 14:07:48 +01:00
Petr Písař
640c5891f6 Fix a crash when parsing #line directives with large numbers in eval 2019-02-22 13:25:05 +01:00
Fedora Release Engineering
f442fa2b90 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 18:15:38 +00:00
Petr Písař
b8a8e56863 Remove a fix for un undefined C behavior in NULL pointer arithmetics
The fix (upstream 8c165a32) changed perl ABI. This command segfaults:
    $ perl -MJSON::XS -e 'JSON::XS::decode_json(q{plain text})'
It broke emmitting warnings from an XS module that was built before
applying the fix.

Removal of the patch also changes libperl.so's ABI because it removes
PL_WARN_ALL and PL_WARN_NONE symbols. XS modules built after the
removal will fail to link at run-time. We will rebuild them.
2019-01-16 10:49:16 +01:00
Petr Písař
67cee652e7 Fix the interpreter path if procfs is not mounted 2019-01-15 10:33:18 +01:00
Petr Písař
4b2f0d2c0d Fix a mismatch with a global regular expression on a text with ligatures 2019-01-15 10:33:18 +01:00
Petr Písař
f526e67959 Prevent long jumps from clobbering local variables 2019-01-15 10:33:18 +01:00
Petr Písař
7f49d3b6d7 Fix un undefined C behavior in NULL pointer arithmetics 2019-01-15 10:33:18 +01:00
Petr Písař
8cee2a9175 Fix a crash when compiling a malformed form 2019-01-15 10:33:18 +01:00
Petr Písař
ca28c96764 Fix first eof() return value 2019-01-15 10:33:18 +01:00
Petr Písař
634fb4080c Fix reporting a line number for non-terminated prototypes 2019-01-15 10:33:18 +01:00
Petr Písař
ba7b23759d Do not close an IPC pipe that already has a desired descriptor 2019-01-15 10:33:18 +01:00
Petr Písař
539a03b8cf Adjust tests to gdbm-1.15 using an upstream fix 2019-01-15 10:33:18 +01:00
Björn Esser
fb37340d0b
Rebuilt for libcrypt.so.2 (#1666033) 2019-01-14 18:51:57 +01:00
Petr Písař
c7bc1da47b Conditionalize and document a build time dependency on gcc-c++ 2019-01-14 10:52:47 +01:00
Björn Esser
7b8e501a69
Add BuildRequires: gcc-c++ for tests 2019-01-13 09:29:33 +01:00
Petr Písař
bfd9d6a2ae Fix compiling regular expressions that contain both compile- and run-time compiled code blocks 2018-11-30 14:49:41 +01:00
Petr Písař
45b1f54fc1 Fix in-place edit to replace files on a successful perl exit status 2018-11-30 14:49:41 +01:00
Petr Písař
85f1254ef4 Fix an undefined behaviour in S_hv_delete_common() 2018-11-30 14:49:41 +01:00
Petr Písař
e3cdc90d65 Fix PathTools tests to cope with ESTALE error 2018-11-30 14:49:41 +01:00
Petr Písař
a23ff061c5 Fix script run matching to allow ASCII digits in scripts that use their own in addition 2018-11-30 14:49:41 +01:00
Jitka Plesnikova
14476b059d 5.28.1 bump 2018-11-30 08:40:18 +01:00
Petr Písař
07823bf7b4 Install Encode developmental files when installing complete Perl 2018-11-02 10:10:33 +01:00
Jitka Plesnikova
0bfee4c79e Fix annocheck failure by passing CFLAGS to dtrace 2018-10-25 14:47:32 +02:00
Petr Písař
8cf9a28c2e Fix upack "u" of invalid data 2018-09-24 11:18:00 +02:00
Petr Písař
28506e03c6 Revert a fix for a buffer overrun in deprecated S_is_utf8_common() 2018-09-10 14:25:40 +02:00
Petr Písař
ceb01be0f0 Require Devel::PPPort by perl-devel for h2xs script 2018-09-05 16:53:37 +02:00
Petr Písař
312df55ba1 Fix a spurious warning about uninitialized value in warn 2018-09-05 16:40:58 +02:00
Petr Písař
e7c58147e0 Fix an assignment to a lexical variable in multiconcatenation expressions 2018-09-05 16:35:47 +02:00
Petr Písař
8401a631d8 Fix Time::Piece to handle objects in overloaded methods correctly 2018-09-05 16:19:53 +02:00
Petr Písař
e82b9306ac Fix matching an ASCII digit followed by a non-ASCII digit using a script run 2018-09-05 16:01:51 +02:00
Petr Písař
e039a7964c Fix a time race in Time-HiRes/t/itimer.t test 2018-09-05 15:35:49 +02:00
Petr Písař
e7f6de4785 Fix a buffer overrun in deprecated utf8_to_uvchr 2018-09-05 12:27:28 +02:00
Petr Písař
a2d9fa158f Fix a buffer overrun in deprecated S_is_utf8_common() 2018-09-05 10:52:28 +02:00
Petr Písař
2d2ad79937 Fix a file descriptor leak in in-place edits 2018-08-01 10:37:41 +02:00
Petr Písař
1f538b3dc4 Annotate two patched that they are in the upstream 2018-07-27 10:39:01 +02:00
Petr Písař
55125798c5 Update perl-macros description 2018-07-17 10:51:42 +02:00
Petr Písař
5259eef42a Fix build conditions in locale.c 2018-07-17 10:24:05 +02:00
Petr Písař
c5a47bb005 Fix index() and rindex() optimization in given-when boolean context 2018-07-17 10:19:04 +02:00
Fedora Release Engineering
b7449d9d90 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 15:41:15 +00:00
Petr Písař
49edffea3d Fix spelling mistakes in descriptions 2018-07-09 17:52:35 +02:00
Petr Písař
ac56956257 Fix invoking a check for wide characters while ISO-8859-1 locale is in effect 2018-07-09 17:29:38 +02:00
Petr Písař
5500dbbbad Fix printing a warning about a wide character when matching a regular expression while ISO-8859-1 locale is in effect 2018-07-09 17:19:56 +02:00
Petr Písař
9710c0391a Fix an integer wrap when allocating memory for an environment variable 2018-07-09 17:06:15 +02:00
Petr Písař
81b715af2e Use %{_rpmmacrodir} instead of %{_rpmconfigdir}/macros.d
Guidelines prescribe %{_rpmmacrodir}.
2018-07-09 16:54:53 +02:00
Petr Písař
f6df8518cf Adjust tests to gdbm-1.15 2018-07-09 16:49:21 +02:00
Jitka Plesnikova
b56c905745 Stop providing old perl(MODULE_COMPAT_5.26.*) 2018-06-30 19:43:37 +02:00
Jitka Plesnikova
70d930113d 5.28.0 bump 2018-06-26 23:26:07 +02:00
Petr Písař
004cea3a67 Fix an infinite loop in the regular expression compiler 2018-05-25 15:35:38 +02:00
Petr Písař
9bfbe0e8c9 Bug 1536752 is known as RT#133184 2018-05-25 14:24:41 +02:00
Jitka Plesnikova
7123165115 Correct license tags of perl-libs (bug #1579524) 2018-05-18 13:22:27 +02:00
Petr Písař
b09154addd Fix a possibly unitialized memory read in the Perl parser 2018-04-20 12:25:22 +02:00
Petr Písař
7d51eee368 Fix parsing extended bracketed character classes 2018-04-20 12:24:42 +02:00
Petr Písař
b8e600698b Fix line numbers in multi-line s/// 2018-04-20 11:19:16 +02:00
Petr Písař
0c45015a3b Do not clobber file bytes in :encoding layer 2018-04-19 18:14:53 +02:00
Petr Písař
150a309e82 perl-devel requires redhat-rpm-config because of hardened compiler profiles
$Config{ccflags} inherits
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 from perl.spec build
time. That breaks building XS modules if redhat-rpm-config is not
installed.
2018-04-19 17:04:47 +02:00
Petr Písař
8ee4862e56 5.26.2 bump 2018-04-16 13:28:09 +02:00
Petr Písař
3abe685779 5.26.2-RC1 bump 2018-03-26 15:36:10 +02:00
Petr Písař
89b92bf4f0 Move gcc dependency from ExtUtils::MakeMaker to ExtUtils::CBuilder
To benefit from a build root without a GCC, perl-ExtUtils-MakeMaker
cannot depend on gcc because a compiler is not needed for pure-Perl
packages.

bug #1547165
2018-03-02 15:22:42 +01:00
Florian Weimer
f56d3d5593 Rebuild to pick up new build flags from redhat-rpm-config 2018-03-01 14:07:18 +01:00
Petr Písař
01965013b5 Update licenses found in the sources
TODO: Remove cpan/libnet/lib/Net/libnetFAQ.pod from the source
tar ball.
2018-02-16 15:28:19 +01:00
Igor Gnatenko
77a70b87de
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:05:26 +01:00
Petr Písař
71b4399055 Correct ldconfig_scriptlets invocation 2018-02-06 14:31:21 +01:00
Petr Písař
7317c1ba6c Call ldconfig scriptlets using a macro 2018-02-06 14:14:23 +01:00
Petr Písař
d0978d513a Fix a heap use after free when moving a stack 2018-02-06 14:14:18 +01:00
Petr Písař
b6f638978c Fix parsing braced subscript after parentheses 2018-02-06 13:34:41 +01:00
Petr Písař
43a7eb2791 Correct shell bangs in tests
Again we cannot do it in prep because the tests would execute perl
from the system during check phase.
2018-02-01 09:22:09 +01:00