Skip to content
Tcl Source Code Artifact [34cbbe86a5]
Login

Artifact [34cbbe86a5]

Artifact 34cbbe86a51bb429af2ceac11589814364d4cfe743dc8866630f651ebddd8cca:

Manifest of check-in [34cbbe86a5] - Fix [69b4f7eb37]: [gets] of a line longer than 2 GB panicked in Tcl_SetObjLength, returned a negative length with -translation binary, or crashed when a \r ended a buffer. Use Tcl_Size for the offsets and counts in Tcl_GetsObj, TclGetsObjBinary and FilterInputBytes, and do not overflow when doubling the buffer. by serhiy.storchaka on 2026-10-18 16:43:07.
B 009f42c4ac605ca402bfb28be45cc34d0255ffebc266203b45df2ccb8a67d200
C Fix\s[69b4f7eb37]:\s[gets]\sof\sa\sline\slonger\sthan\s2\sGB\spanicked\sin\sTcl_SetObjLength,\sreturned\sa\snegative\slength\swith\s-translation\sbinary,\sor\scrashed\swhen\sa\s\\r\sended\sa\sbuffer.\sUse\sTcl_Size\sfor\sthe\soffsets\sand\scounts\sin\sTcl_GetsObj,\sTclGetsObjBinary\sand\sFilterInputBytes,\sand\sdo\snot\soverflow\swhen\sdoubling\sthe\sbuffer.
D 2026-10-18T16:43:07.145
F generic/tclIO.c 477623de50e20a05385806afe5551bd613a0918fa3949dccaaabdf9e05ea006b
F tests/bigdata.test 505dd74d0a5f2c71e58bb2fa4d964d3c00c488af882465143c1ab077b2f40984
P 009f42c4ac605ca402bfb28be45cc34d0255ffebc266203b45df2ccb8a67d200
R 80ca25e9e208bd5f6a8a6290ebfb9665
T *branch * gets-long-lines
T *sym-gets-long-lines *
T -sym-main *
T -sym-trunk *
U serhiy.storchaka
Z d423f39c0c091195894fd26852e8fc4b