<i>valgrind reports uninitialized memory access running the test suite</i> status still Closed with 5 other changes
by
.
D 2026-03-11T20:26:26.140
J closedate 2461111.3516914351
J closer sebres
J icomment Are\syou\sin\smode\sto\scherry-pick\smatching\swords,\sJan?..\r\n\r\nAlso\syou\sseemed\sto\smiss\s"or\sto\suse\sit\sin\scertain\soperations"\safter\s"access\sthe\sstruct\sas\sa\swhole".\r\n\r\nAnyway,\sbecause\sit\sis\svalid\sto\soptimize\sthe\scode\sin\sthe\sway\sI\sdescribed\sabove\s(if\sthe\scompiler\sknows\sthat\safter\skeyPtr->type\sthere\sare\sstill\s4\sbytes\sfor\spadding),\sI\scan\snot\sexclude\sthat\sby\scode\slike\sthis\s(e.\sg.\susing\sARM\sinstructions\slike\sLDR,\sLDM\sor\sLDP)\sit\swould\snot\scause\sSF\sby\sout-of-bounds\smemory\saccess:\r\n\r\n```asm\r\nldp\sx0,\sx1,\s[x2];\s\s//\sload\spair\skeyPtr->interp\sand\skeyPtr->type\swith\ssingle\sinstruction\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s;\s\s//\sthereby\sx0\scontains\spointer\skeyPtr->interp,\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s;\s\s//\s\s\s\s\s\s\s\s\sw1\scontains\skeyPtr->type\sas\sint\s(lower\s32-bits\sword\sof\sx1)\r\n...\r\nbl\sTcl_LimitRemoveHandler\r\n```\r\nCan\syou\sreally\sswear\sthat\sit\swon't\shappen?
J login sebres
J mimetype text/x-markdown
K f7495f63c01ea80069198ac183e1e0cc8873dabe
U sebres
Z 91b35e09dcadb91f302db1e796a8dd89