Overview
| Artifact ID: | cde88ea4ce609b2e4790f1ed31b7237ef3dec7f0 |
|---|---|
| Ticket: | 940843ffffffffffffffffffffffffffffffffff
crash scanning dict with zero entries |
| User & Date: | dgp on 2004-04-23 16:17:07 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
It appears this causes a crash: int done = 0; Tcl_DictSearch search; Tcl_Obj *keyPtr; Tcl_Obj *dictPtr; dictPtr = Tcl_NewObj(); Tcl_DictObjFirst(NULL, dictPtr, &search, &keyPtr, NULL, &done); Tcl_DictObjDone(&search); /* CRASH! */ Perhaps this is pilot error, and the caller must coded like so: if (!done) { Tcl_DictObjDone(&search); } but if so, maybe a friendlier interface is worth considering (or sterner warnings in the docs). - foundin changed to: "obsolete: 8.5a2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "15. Dict Object"
- title changed to: "crash scanning dict with zero entries"
- type changed to: "Bug"