summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorGisle Aas <gisle@aas.no>2005-11-30 22:20:14 -0800
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-12-01 14:25:34 +0000
commited2b91d29c1b58175db252ccbe8263efa90214d8 (patch)
treeb5da64da5a900d376eb08475b20755db95ad0d3e /t
parentfc7325bb0fcb956b1876bcf7f14d8081004dc791 (diff)
downloadperl-ed2b91d29c1b58175db252ccbe8263efa90214d8.tar.gz
[PATCH] Re: Perl PR: "Security holes in Sys::Syslog"
Date: 01 Dec 2005 06:20:14 -0800 Message-ID: <lroe406grl.fsf_-_@caliper.activestate.com> Subject: [PATCH] Suppress "0b" prefix for sprintf("%#b", 0) From: Gisle Aas <gisle@ActiveState.com> Date: 01 Dec 2005 06:11:44 -0800 Message-ID: <lrsltc6h5r.fsf_-_@caliper.activestate.com> p4raw-id: //depot/perl@26237
Diffstat (limited to 't')
-rwxr-xr-xt/op/sprintf.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/op/sprintf.t b/t/op/sprintf.t
index 0b9e94e772..35bb8e6cca 100755
--- a/t/op/sprintf.t
+++ b/t/op/sprintf.t
@@ -418,3 +418,6 @@ __END__
>%4$K %d< >[45, 67]< >%4$K 45 INVALID<
>%d %K %d< >[23, 45]< >23 %K 45 INVALID<
>%*v*999\$d %d %d< >[11, 22, 33]< >%*v*999\$d 11 22 INVALID<
+>%#b< >0< >0<
+>%#o< >0< >0<
+>%#x< >0< >0<