Artifacts Associated With Ticket 940843ffffffffff
Ticket change [cde88ea4ce] (rid 95968) by dgp on 2004-04-23 16:17:07:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "obsolete: 8.5a2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "15. Dict Object"
- title initialized to: "crash scanning dict with zero entries"
- type initialized to: "Bug"
Ticket change [632df433c8] (rid 92533) by dkf on 2004-04-26 16:47:28:
- closedate changed to: "2004-04-26T09:47:28"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 This is indeed pilot error. I've strengthened the wording in the documentation and added an example as well.
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"