.
D 2008-02-25T09:51:24
J assignee dgp
J icomment \n\nFile\sAdded\s-\s267826:\sbgerror.patch\n\nLogged\sIn:\sYES\s\nuser_id=102050\nOriginator:\sYES\n\nLooks\slike\sTclDefaultBgErrorHandlerObjCmd\s(in\sgeneric/tclEvent.c)\sdoesn't\scheck\sfor\serror\sconditions\swhen\sretrieving\soptions\sfrom\sthe\sdictionary.\sNotably,\sif\sthe\sdictionary\spassed\sin\sdoesn't\scontain\seither\sof\sthe\sexpected\skeys\s{-level,\s-code}\sthen\sthe\scode\swill\scrash\sas\sit\sattempts\sto\saccess\sthe\sNULL\spointer\sreturned\sfrom\sTcl_DictObjGet.\s(The\scode\sis\ssafe\sfor\s-errorcode\sand\s-errorinfo).\n\nI\sattach\sa\spatch\sto\sfix\sthis\sbug,\sby\sassuming\s-level\s0\sand\s-code\sTCL_ERROR\s(which\sseem\slike\sreasonable\sdefaults).\sObviously,\sthis\scommand\sis\sunlikely\sto\sbe\scalled\sdirectly\slike\sthis\sanyway,\sbut\sit's\sa\ssimple\sfix\sto\savoid\sa\scrash\scondition.\n\nAlso\sassigning\sto\sdgp\sas\sChangeLog\shas\syour\sname\sagainst\slast\sentry\sfor\sthis\scommand.\n\nCheers,\nNeil\nFile\sAdded:\sbgerror.patch\n
J login tallniel
J mimetype text/plain
J username tallniel
K 1901113fffffffffffffffffffffffffffffffff
U tallniel
Z 2308727c2afd0735187a77cbbda5cd50