[kgb-maintainers] [PATCH] Adjust to Safe-2.35
Petr Písař
ppisar at redhat.com
Wed Aug 7 07:08:53 UTC 2013
Since Safe-2.35, t/51-client_branch_module.t test fails with:
Error while evaluating `^/([^/]+)/([^/]+)/': 'ref-to-glob cast'
trapped by operation mask at (eval 162) line 1.
This patch fixes it. (Though I'm not sure about the security.)
Signed-off-by: Petr Písař <ppisar at redhat.com>
---
lib/App/KGB/Client.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/App/KGB/Client.pm b/lib/App/KGB/Client.pm
index eb9cef4..f544b22 100644
--- a/lib/App/KGB/Client.pm
+++ b/lib/App/KGB/Client.pm
@@ -448,7 +448,7 @@ sub detect_branch_and_module {
my $safe = Safe->new;
$safe->permit_only(
qw(padany lineseq match const leaveeval
- rv2sv pushmark list warn)
+ rv2gv rv2sv pushmark list warn)
);
my ( $branch, $module, $matched_re );
--
1.8.1.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/kgb-maintainers/attachments/20130807/97cd2ef3/attachment.sig>
More information about the kgb-maintainers
mailing list