Overview
| Comment: | * generic/tclBinary.c (TclAppendBytesToByteArray): Add comments * generic/tclInt.h (TclAppendBytesToByteArray): placing overflow protection responsibility on caller. Convert "len" argument to signed int which any value already vetted for overflow issues will fit into. * generic/tclStringObj.c: Update caller; standardize panic msg. * generic/tclBinary.c (UpdateStringOfByteArray): Add panic when the generated string representation would grow beyond Tcl's size limits. [Bug 2994924] |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
32f022466a89e95ed9e029603bf4ad8e |
| User & Date: | dgp on 2010-04-30 20:52:51.000 |
| Other Links: | manifest | tags |
Context
|
2010-04-30
| ||
| 21:15 | * generic/tcl.h: Bump patchlevel to 8.6b1.2 to distinguish * library/init.tcl... check-in: a30f8d7cf3 user: dgp tags: trunk | |
| 20:52 | * generic/tclBinary.c (TclAppendBytesToByteArray): Add comments * generic/tclIn... check-in: 32f022466a user: dgp tags: trunk | |
| 14:06 | * generic/tclBinary.c (TclAppendBytesToByteArray): Add extra armour against buffer overflows. check-in: 07af3814a9 user: dkf tags: trunk | |
Changes
Modified ChangeLog
from [19710fdb75]
to [a549da93d7].
[diff]
Modified generic/tclBinary.c
from [89c066912b]
to [aa87910a0b].
[diff]
Modified generic/tclInt.h
from [89ef83c65d]
to [2e3d47add7].
[diff]
Modified generic/tclStringObj.c
from [f60c1df296]
to [b507914443].
[diff]