Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 731848 Details for
Bug 807307
<dev-lang/perl-5.34.0-r2, <perl-core/Encode-3.120: Encode.pm loads code from outside expected @INC (CVE-2021-36770)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-mitigate-INC-pollution-when-loading-ConfigLocal.patch
0001-mitigate-INC-pollution-when-loading-ConfigLocal.patch (text/plain), 693 bytes, created by
kfm
on 2021-08-09 13:19:49 UTC
(
hide
)
Description:
0001-mitigate-INC-pollution-when-loading-ConfigLocal.patch
Filename:
MIME Type:
Creator:
kfm
Created:
2021-08-09 13:19:49 UTC
Size:
693 bytes
patch
obsolete
>From 3772892b334a631b7bbf9a8ffbcb19e327d96e29 Mon Sep 17 00:00:00 2001 >From: Ricardo Signes <rjbs@semiotic.systems> >Date: Sat, 17 Jul 2021 14:46:10 -0400 >Subject: [PATCH] mitigate @INC pollution when loading ConfigLocal > >--- > Encode.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Encode.pm b/Encode.pm >index a56a999..9691382 100644 >--- a/Encode.pm >+++ b/Encode.pm >@@ -65,8 +65,8 @@ require Encode::Config; > eval { > local $SIG{__DIE__}; > local $SIG{__WARN__}; >- local @INC = @INC || (); >- pop @INC if $INC[-1] eq '.'; >+ local @INC = @INC; >+ pop @INC if @INC && $INC[-1] eq '.'; > require Encode::ConfigLocal; > }; > >-- >2.30.1 (Apple Git-130) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 807307
: 731848