Tcl Source Code

Check-in [34cbbe86a5]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment: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.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | gets-long-lines
Files: files | file ages | folders
SHA3-256: 34cbbe86a51bb429af2ceac11589814364d4cfe743dc8866630f651ebddd8cca
User & Date: serhiy.storchaka 2026-10-18 16:43:07.145
Context
2026-10-18
16:43
Fix [69b4f7eb37]: [gets] of a line longer than 2 GB panicked in Tcl_SetObjLength, returned a negativ... leaf check-in: 34cbbe86a5 user: serhiy.storchaka tags: gets-long-lines
2026-10-17
22:11
Remove useless comment check-in: 009f42c4ac user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tclIO.c.
Changes to tests/bigdata.test.