diff options
author | he <he@pkgsrc.org> | 2008-06-01 22:04:07 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2008-06-01 22:04:07 +0000 |
commit | 20ed9ece0476b54449ee4fa6e4656da45611b4c8 (patch) | |
tree | adeb9a561aa5f1f7493e4e8881a41233b3c91ddb /lang/perl5/patches/patch-ad | |
parent | 404db2c68f08d5c3c6251d8e1fd772d73bab2cca (diff) | |
download | pkgsrc-20ed9ece0476b54449ee4fa6e4656da45611b4c8.tar.gz |
Apply a patch from Debian to fix the security vulnerability identified
by http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1927.
Patch fetched from
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=26;filename=27_fix_regcomp_utf8;att=1;bug=454792
which, according to comments, is from upstream change 27688.
Revision bumped to nb8.
Diffstat (limited to 'lang/perl5/patches/patch-ad')
-rw-r--r-- | lang/perl5/patches/patch-ad | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/perl5/patches/patch-ad b/lang/perl5/patches/patch-ad new file mode 100644 index 00000000000..cd41e410068 --- /dev/null +++ b/lang/perl5/patches/patch-ad @@ -0,0 +1,17 @@ +$NetBSD: patch-ad,v 1.11 2008/06/01 22:04:07 he Exp $ + +Fix for +http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1927 +from +http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=26;filename=27_fix_regcomp_utf8;att=1;bug=454792 + +--- embed.fnc.orig 2006-01-31 15:40:27.000000000 +0100 ++++ embed.fnc +@@ -1168,6 +1168,7 @@ Es |void |reguni |NN const struct RExC_ + Es |regnode*|regclass |NN struct RExC_state_t *state + ERs |I32 |regcurly |NN const char * + Es |regnode*|reg_node |NN struct RExC_state_t *state|U8 op ++Es |UV |reg_recode |const char value|NULLOK SV **encp + Es |regnode*|regpiece |NN struct RExC_state_t *state|NN I32 *flagp + Es |void |reginsert |NN struct RExC_state_t *state|U8 op|NN regnode *opnd + Es |void |regoptail |NN struct RExC_state_t *state|NN regnode *p|NN regnode *val |