Overview
| Artifact ID: | 91ba573a1da5d17b8247867393a4cd5cc72e5049900c78187a9271f9324c788c |
|---|---|
| Ticket: | c9e68eb6ca40bb844b6c5d172a8e203f4b419857
tclEncoding.c: undefined behavior involving NULL pointers |
| User & Date: | apnadkarni on 2025-09-21 15:55:31 |
Changes
- icomment:
In general, the Tcl C API expects the caller to have checked for NULL pointers unless explicitly documented otherwise so I am not in favor of the proposed patch. Unless we make a universal change and modify the entire API surface accordingly. The real bug is the C code that does not do this check in tclUnixInit.c. /Ashok
- login: "apnadkarni"
- mimetype: "text/plain"