Overview
| Artifact ID: | c6a29bd49681d86b1be663fa1755bc3f276bcd08 |
|---|---|
| Ticket: | 3127687fffffffffffffffffffffffffffffffff
Triggers FORTIFY_SOURCE buffer overflow detection |
| User & Date: | nijtmans on 2010-12-05 15:34:51 |
Changes
- icomment:
>ideally the structure would declare the command[] with some define for the maximum length of variable names or commands. Tcl does not have a maximum length of variable names or commands, other than the amount of availalble memory... For Tcl 8.6, a solution would be to define buffer having size [0], that's the standard way of doing this. But I don't know if all the supported compilers handle that. So for Tcl 8.4/8.5 maybe the best is compile everything with -U_FORTIFY_SOURCE (Tcl8.5 this code moved to tclTrace.c). just my 2c
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"