Overview
| Artifact ID: | 2c3b0c9c211765ddc8096a8739908aebc5903a17 |
|---|---|
| Ticket: | 7a87a9bc5b213d2d57848e263f12636bb8d945a2
Invalid write in tclExecute.c |
| User & Date: | dkf on 2015-08-17 17:08:44 |
Changes
- icomment:
I suspect that simply deleting the line <pre> varPtr->value.objPtr = NULL; </pre> would be sufficient to fix this bug. This is because I know that being undefined is the same as having that field be NULL; either the value is not NULL, in which case the first <tt>if</tt> clause above activates (and makes the field NULL) or it is NULL in which case the write ought to have no effect. <p> I'd appreciate if you could check if my theory is correct. I don't have valgrind on this system (OSX).
- login: "dkf"
- mimetype: "text/html"
- username: "dkf"