Skip to content

Commit

Permalink
Merge pull request #3 from MaskyS/patch-1
Browse files Browse the repository at this point in the history
Fix CVE-2018-12356 by hardening the regex.
  • Loading branch information
gincoin-dev authored Aug 24, 2018
2 parents 78ac3db + 3d1b510 commit 62c92a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/verify-commits/gpg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 62c92a4

Please sign in to comment.