<i>source test triggers undefined behavior</i> status still Open with 3 other changes
by
.
D 2025-12-28T05:13:48.128
J icomment Christopher,\r\n\r\nCould\syou\splease\sretest\swith\sthe\sbug-983f933f11\sbranch?\sI\scould\snot\sverify\smyself\sas\sI\scould\snot\sreproduce\sthe\swarnings.\r\n\r\nWhat\swere\sthe\sconfigure\sflags\sused?\sI\stried\sthe\sfollowing\sand\scould\snot\sreproduce\sthe\serror\son\sUbuntu\s20.\r\n\r\n```\r\n../../configure\sCFLAGS="-fsanitize=undefined,pointer-overflow"\sLDFLAGS="-fsanitize=undefined,pointer-overflow"\r\nmake\s-s\sshell\r\nmake\s-s\stest\sTESTFLAGS='-f\ssource.test'\r\n```\r\n\r\nAlso,\sI\spresume\syou\swere\susing\sthe\strunk\sfor\sthe\sbuild\s(the\sticket\ssays\score-8-6-branch)\sbut\sthe\sstack\sdump\sshows\s9.1.\r\n\r\nWith\sregards\sto\syour\sproposed\spatch,\sit\smay\sfix\sthe\swarnings\sin\sthis\scase\sbut\snot\sin\scases\swhere\s`Tcl_ExternalToUtfDString`\sis\scalled\swith\sNULL\spointers\sfrom\selsewhere\sso\snot\ssure\sif\sit\sis\sadequate.\sFixing\s`Tcl_ETUDS`\sfeels\ssafer\sassuming\sthe\sbranch\sresolves\sthe\sissue.
J login apnadkarni
J mimetype text/x-markdown
K 983f933f114af3a77d9df39359205811637ee2c2
U apnadkarni
Z ba821469610a30fd3ba48dece7c18f23