gnu: pcre2: Fix CVE-2017-8786.

* gnu/packages/patches/pcre2-CVE-2017-8786.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/pcre.scm (pcre2)[source]: Use it.
This commit is contained in:
Leo Famulari 2017-05-07 17:13:38 -04:00
parent 86ab11205e
commit 37f46a4bc5
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08
3 changed files with 158 additions and 1 deletions

View file

@ -92,7 +92,8 @@ POSIX regular expression API.")
(sha256
(base32
"0vn5g0mkkp99mmzpissa06hpyj6pk9s4mlwbjqrjvw3ihy8rpiyz"))
(patches (search-patches "pcre2-CVE-2017-7186.patch"))))
(patches (search-patches "pcre2-CVE-2017-7186.patch"
"pcre2-CVE-2017-8786.patch"))))
(build-system gnu-build-system)
(inputs `(("bzip2" ,bzip2)
("readline" ,readline)