Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-12-30
22:08 • Closed ticket [1847313fff]: missing pointer check in tclOOStubLib.c plus 3 o... artifact: 8f2b66d684 user: dkf
2007-12-09
15:23 • New ticket [1847313fff]. artifact: e2122c36fe user: wiede

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.