Skip to content
Tcl Source Code View Ticket
Login

View Ticket

missing pointer check in tclOOStubLib.c

Closed / Fixed1847313fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-12-09 15:23:10
using the stubs initialization function TclOOInitializeStubs there is a core dump, if the calll to Tcl_PkgRequireEx does not succedd, as there is no check if clientData != NULL after that call to return an error in that case, so 
    struct TclOOStubAPI *stubsAPIPtr = clientData;
    TclOOStubs *stubsPtr = stubsAPIPtr->stubsPtr;

dumps core
dkf Closed ticket [1847313fff]. [History diff]2007-12-30 22:08:26
Log in (anonymous is fine) to add a comment.