Overview
| Artifact ID: | 329d2936acc2d2749a8a77fb55bf4888a5822080 |
|---|---|
| Ticket: | 1693986fffffffffffffffffffffffffffffffff
Buggy string handling in command traces? |
| User & Date: | msofer on 2007-04-16 21:59:29 |
Changes
- icomment:
Logged In: YES user_id=148712 Originator: YES Specifically, assume a command with execution traces called from TEBC or Tcl_Eval, hence with a non nul-terminated 'command' string. TEOvI will call TclCheckExecutionTraces, passing along the string as is. In turn, this calls TraceExecutionProc, passing along the string but *not* the count. Finally, TraceExecutionProc uses it for strcmp (line 1777), strlen and strcpy (lines 1893-4). Actually, 'command' will typically be nul-terminated, just not at the end of the command (at count), but rather at the end of the script. So: no buffer overflow, just a too-lengthy string will be used. Reducing prio.
- login: "msofer"
- mimetype: "text/plain"
- priority changed to: "5 Medium"
- username: "msofer"