Page MenuHomePhabricator

0001-Fix-CVE-2018-12356-by-hardening-the-regex.patch

Authored By
Rahul_G
Jun 23 2018, 06:37
Size
926 B
Subscribers
Tokens
"Pterodactyl" token, awarded by Unknown Object (User)."Hungry Hippo" token, awarded by ponury1990.

0001-Fix-CVE-2018-12356-by-hardening-the-regex.patch

From fff248106836e59799b2a0f469ef9dd36cc7bf55 Mon Sep 17 00:00:00 2001
From: TechnoLord <rahul.golam19@gmail.com>
Date: Sat, 16 Jun 2018 13:40:03 +0400
Subject: [PATCH] Fix CVE-2018-12356 by hardening the regex.
Signed-off-by: TechnoLord <rahul.golam19@gmail.com>
---
contrib/verify-commits/gpg.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/verify-commits/gpg.sh b/contrib/verify-commits/gpg.sh
index 4b2649e..ef5a13c 100755
--- a/contrib/verify-commits/gpg.sh
+++ b/contrib/verify-commits/gpg.sh
@@ -26,7 +26,7 @@ if ! $VALID; then
exit 1
fi
if $VALID && $REVSIG; then
- echo "$INPUT" | gpg --trust-model always "$@" | grep "\[GNUPG:\] \(NEWSIG\|SIG_ID\|VALIDSIG\)" 2>/dev/null
+ echo "$INPUT" | gpg --trust-model always "$@" | grep "^\[GNUPG:\] \(NEWSIG\|SIG_ID\|VALIDSIG\)" 2>/dev/null
echo "$GOODREVSIG"
else
echo "$INPUT" | gpg --trust-model always "$@" 2>/dev/null
--
2.7.4

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
157102
Default Alt Text
0001-Fix-CVE-2018-12356-by-hardening-the-regex.patch (926 B)

Event Timeline

Unknown Object (User) awarded a token.Feb 15 2023, 05:22
Unknown Object (User) added a subscriber: Unknown Object (User).