Overview
| Artifact ID: | ff92d494f5c9a0c6e133b4f8b6493d9b71aedca6 |
|---|---|
| Ticket: | e0787124655e40ae2d1d4052911fcc1d21dfb20e
operatorStrings missing an empty string |
| User & Date: | dgp on 2014-11-21 21:27:59 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
The array "operatorStrings" in tclExecute.c is commented to need matching up with the opcode lists in tclCompile.h. It doesn't match. It's missing an empty string. There are 8 empty strings between "FUNCTION" and "eq" and there need to be 9. Coverity apparently detected (1251249?) there was something wrong, and declared it a off by one. See the commit http://core.tcl.tk/tcl/info/12524da9f5 where an attempt to fix was committed. It's the wrong fix though. The true error is in the data, not in the code. A good test in the test suite followed by the proper fix is the right way forward.
- is_private changed to: "0"
- login: "dgp"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "operatorStrings missing an empty string"
- type changed to: "Bug"