diff -cr perl-5.8.3/op.c perl-5.8.3.patched/op.c
*** perl-5.8.3/op.c Wed Dec 31 18:13:05 2003
--- perl-5.8.3.patched/op.c Mon Dec 12 18:21:46 2005
***************
*** 1992,1998 ****
/* XXX might want a ck_negate() for this */
cUNOPo->op_first->op_private &= ~OPpCONST_STRICT;
break;
- case OP_SPRINTF:
case OP_UCFIRST:
case OP_LCFIRST:
case OP_UC:
--- 1992,1997 ----
diff -cr perl-5.8.3/opcode.h perl-5.8.3.patched/opcode.h
*** perl-5.8.3/opcode.h Wed Dec 31 18:13:06 2003
--- perl-5.8.3.patched/opcode.h Mon Dec 12 18:21:46 2005
***************
*** 1585,1591 ****
0x0022281c, /* vec */
0x0122291c, /* index */
0x0122291c, /* rindex */
! 0x0004280f, /* sprintf */
0x00042805, /* formline */
0x0001379e, /* ord */
0x0001378e, /* chr */
--- 1585,1591 ----
0x0022281c, /* vec */
0x0122291c, /* index */
0x0122291c, /* rindex */
! 0x0004280d, /* sprintf */
0x00042805, /* formline */
0x0001379e, /* ord */
0x0001378e, /* chr */
diff -cr perl-5.8.3/opcode.pl perl-5.8.3.patched/opcode.pl
*** perl-5.8.3/opcode.pl Wed Dec 31 18:13:07 2003
--- perl-5.8.3.patched/opcode.pl Mon Dec 12 18:21:46 2005
***************
*** 602,608 ****
index index ck_index isT@ S S S?
rindex rindex ck_index isT@ S S S?
! sprintf sprintf ck_fun mfst@ S L
formline formline ck_fun ms@ S L
ord ord ck_fun ifsTu% S?
chr chr ck_fun fsTu% S?
--- 602,608 ----
index index ck_index isT@ S S S?
rindex rindex ck_index isT@ S S S?
! sprintf sprintf ck_fun mst@ S L
formline formline ck_fun ms@ S L
ord ord ck_fun ifsTu% S?
chr chr ck_fun fsTu% S?
diff -cr perl-5.8.3/patchlevel.h perl-5.8.3.patched/patchlevel.h
*** perl-5.8.3/patchlevel.h Wed Jan 14 15:18:14 2004
--- perl-5.8.3.patched/patchlevel.h Mon Dec 12 18:21:46 2005
***************
*** 123 ****
! ,NULL
--- 123,124 ----
! ,"SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962"
! ,NULL
diff -cr perl-5.8.3/perl.h perl-5.8.3.patched/perl.h
*** perl-5.8.3/perl.h Sun Dec 14 20:25:21 2003
--- perl-5.8.3.patched/perl.h Mon Dec 12 18:21:46 2005
***************
*** 3072,3077 ****
--- 3072,3079 ----
INIT("\"my\" variable %s can't be in a package");
EXTCONST char PL_no_localize_ref[]
INIT("Can't localize through a reference");
+ EXTCONST char PL_memory_wrap[]
+ INIT("panic: memory wrap");