Overview
| Artifact ID: | 6846d64693e556b3a1c1a08e4c39914065e010ac |
|---|---|
| Ticket: | 51ded417dde97f04b68eb6710ff16e31fa7b9906
Need test to ensure %p is not exposed to scripts |
| User & Date: | dkf on 2017-04-02 22:59:04 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/html"
- comment changed to:
While it is fine to have Tcl's <code>Tcl_AppendPrintfToObj</code> (et al) accept <code>%p</code>, we definitely do not want that capability exposed to Tcl scripts. Therefore, we should add code to <i><b>make sure</b></i> that neither <code>format</code> nor <code>scan</code> support it; an error indicating a bad format sequence should be received in these cases. We might be getting it right now, but we need to be ever so careful as these have been areas which have had security errors in the past in other languages (the ones that just throw it to C's <tt>sprintf</tt>/<tt>sscanf</tt>). Much better safe than sorry.
- foundin changed to: "trunk"
- is_private changed to: "0"
- login: "dkf"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "dkf"
- subsystem changed to: "10. Objects"
- title changed to: "Need test to ensure %p is not exposed to scripts"
- type changed to: "Bug"