Skip to content
Tcl Source Code Artifact [32e0e04600]
Login

Artifact [32e0e04600]

Artifact 32e0e046008c91bcbd4053eacd3f761c3b626266427944b85e02636af032a5c1:

Ticket change [32e0e04600] - Ticket [983f933f114af3a7|983f933f11] <i>source test triggers undefined behavior</i> status still Open with 3 other changes by apnadkarni on 2025-12-28 05:13:48.
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