Skip to content
Tcl Source Code View Ticket
Login

View Ticket

suspect code in INST_{LIST,INVOKE_STK1}

Closed / Fixed507181ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-01-22 21:18:50
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.
dgpplain2002-01-23 04:21:34
File Added - 16589: exec.patch
hobbsplain2002-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.
dgpplain2002-02-28 11:39:36
Logged In: YES 
user_id=80530

Did this issue get resolved?
msoferplain2002-02-28 20:04:42
Logged In: YES 
user_id=148712

Now it did: exec2.patch committed
msoferplain2002-02-28 20:04:43
File Added - 18564: exec2.patch
Log in (anonymous is fine) to add a comment.

Attachments: