8
0

Accepting request 514862 from home:pmonrealgonzalez:branches:devel:languages:perl

- Add patch to fix CVE-2017-10788 bsc#1047095
  * Denial of service or possibly RCE through use-after-free
  * perl-DBD-mysql-4.043-CVE-2017-10788.patch

OBS-URL: https://build.opensuse.org/request/show/514862
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-mysql?expand=0&rev=56
This commit is contained in:
2017-08-14 12:56:01 +00:00
committed by Git OBS Bridge
parent 23fd45d3b0
commit a945f9ec41
3 changed files with 62 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/DBD-mysql/
Source0: https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
# PATCH-FIX-UPSTREAM CVE-2017-10788 bsc#1047095 pmonrealgonzalez@suse.com - DoS or possibly RCE through use-after-free
Patch1: perl-DBD-mysql-4.043-CVE-2017-10788.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
@@ -49,6 +51,7 @@ no-one ever requested them. :-)
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%patch1 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"