Ticket UUID: | 479650 | |||
Title: | interp object alias command can segfault | |||
Type: | Patch | Version: | None | |
Submitter: | patthoyts | Created on: | 2001-11-08 16:42:39 | |
Subsystem: | 20. [interp] | Assigned To: | hobbs | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2001-11-17 05:29:59 | |
Resolution: | Fixed | Closed By: | hobbs | |
Closed on: | 2001-11-16 22:29:59 | |||
Description: |
It's possible to crash tcl apps by the following commands: interp create a a alias The patch adds an extra argument check to avoid this and a test to check this result. | |||
User Comments: |
hobbs added on 2001-11-17 05:29:59:
Logged In: YES user_id=72656 patched with extra stuff from dgp for 8.4a4cvs. dgp added on 2001-11-09 07:50:27: Logged In: YES user_id=80530 Likewise for % slave aliases extra args that are ignored dgp added on 2001-11-09 07:47:57: Logged In: YES user_id=80530 While you're fixing the argument processing of the [$slave] interp command, fix this one too: % interp create slave slave % slave issafe I can add as many arguments as a I like 0 patthoyts added on 2001-11-08 23:43:16: File Added - 13021: slaveobjcmd.patch |
Attachments:
- slaveobjcmd.patch [download] added by patthoyts on 2001-11-08 23:43:15. [details]