Tcl Source Code

View Ticket
Login
Ticket UUID: 507181
Title: suspect code in INST_{LIST,INVOKE_STK1}
Type: Bug Created on: 2002-01-22 21:18:50
Submitter: dgp Assigned to: msofer
Subsystem: 47. Bytecode Compiler Severity:
Priority: 5 Medium Last modified: 2002-02-28 20:04:43
Status: Closed Closed by: msofer
Resolution: Fixed Closed on: 2002-02-28 13:04:42
Version: obsolete: 8.4a4
Description:
stackTop is decremented directly, and that
decrement is passed as an argument to a macro.

DANGER WILL ROBINSON!

Better to use the POP_OBJECT() macro defined for
this purpose.

Here's a patch.
User Comments:
dgp added on 2002-01-23 04:21:34:

File Added - 16589: exec.patch

hobbs added on 2002-01-23 04:27:40:
Logged In: YES 
user_id=72656

Note that there are many more instances of this use that 
Don warns against in the new LIST instructions than are 
accounted for in the patch.

dgp added on 2002-02-28 11:39:36:
Logged In: YES 
user_id=80530

Did this issue get resolved?

msofer added on 2002-02-28 20:04:42:
Logged In: YES 
user_id=148712

Now it did: exec2.patch committed

msofer added on 2002-02-28 20:04:43:

File Added - 18564: exec2.patch

Attachments: