Skip to content
Tcl Source Code Artifact [7bd82b7393]
Login

Artifact [7bd82b7393]

Artifact 7bd82b7393937e2f61265e6ff8f2d6d3306b5514:

Manifest of check-in [7bd82b7393] - * generic/tclStringObj.c: Revised [format] to not overflow the integer calculations computing the length of the %ll formats of really big integers. Also added protections so that [format]s that would produce results overflowing the maximum string length of Tcl values throw a normal Tcl error instead of a panic. [Bug 2801413] by dgp on 2009-06-10 21:38:13.
B e5c0e5252054c6bcb220cf6f9581755d749feebd
C \s\s\s\s\s\s\s\s*\sgeneric/tclStringObj.c:\s\s\s\s\s\s\sRevised\s[format]\sto\snot\soverflow\sthe\n\s\s\s\s\s\s\s\sinteger\scalculations\scomputing\sthe\slength\sof\sthe\s%ll\sformats\sof\n\s\s\s\s\s\s\s\sreally\sbig\sintegers.\s\sAlso\sadded\sprotections\sso\sthat\s[format]s\sthat\n\s\s\s\s\s\s\s\swould\sproduce\sresults\soverflowing\sthe\smaximum\sstring\slength\sof\sTcl\n\s\s\s\s\s\s\s\svalues\sthrow\sa\snormal\sTcl\serror\sinstead\sof\sa\spanic.\s[Bug\s2801413]\n
D 2009-06-10T21:38:13
F ChangeLog 81cabc8413dea6d830f8adc0c262fbe7dabdcaea
F generic/tclDate.c f4aaf419232e8bebb6e603801c2dc548d1a15392
F generic/tclExecute.c a5492910125717314f060c00c40cff1564dfec51
F generic/tclGetDate.y d8b2e026b9d7e30e7908bb2a63287a3d5d312aca
F generic/tclStringObj.c ca69e4128fa496902002f546d0914d933a0b1fb2
F library/clock.tcl 215509cf87d058554429a0ab339478a9ba1a6ab4
F library/tzdata/Asia/Dhaka 1ea7a32af01bbf893d7222443c2b037125de312f
F tests/clock.test 9aa0e559aaa62b13dec18612c01388203501548f
P 7ad94faea7f50cb52a5e58e45741249c78a44784
U dgp
Z 802a06ef9d5e8df78c650c4ced0eac4f