Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-02-08
20:22 • Closed ticket [2947783fff]: Tcl_ZlibInflate / Tcl_ZlibDeflate fails on shared ob... artifact: 3fc7bc0f97 user: dkf
11:47 • New ticket [2947783fff]. artifact: 7e4d58be40 user: zoro2

Tcl_ZlibInflate / Tcl_ZlibDeflate fails on shared objects

Closed / Fixed2947783fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2010-02-08 11:47:53
When Tcl_ZlibInflate / Tcl_ZlibDeflate is called, it accesses interpreter's current result. If current result is being used, Tcl_SetByteArrayLength() fails. For example this would fail:

o = Tcl_NewByteArrayObj((unsigned char *) "", 0);
Tcl_IncrRefCount(o);
Tcl_SetObjResult(interp, o);
Tcl_ZlibInflate(tinterp, TCL_ZLIB_FORMAT_RAW, o, 0, NULL);
dkfplain2010-02-08 20:22:07
allow_comments - 1
Log in (anonymous is fine) to add a comment.