Skip to content
Tcl Source Code Artifact [f07dffe087]
Login

Artifact [f07dffe087]

Artifact f07dffe0871c349da6ddc5ec50318112cf146ee8153ac43227753ca5f72a0222:

Ticket change [f07dffe087] - Ticket [167e0635db79f05d|167e0635db] <i>`make valgrind` detections</i> status still Open with 3 other changes by sebres on 2024-04-12 22:24:05.
D 2024-04-12T22:24:05.610
J icomment The\sbug\sin\stclHash\sis\sultimately\sfixed\snow\sacross\sall\saffected\sbranches:<br/>\r\n8.5\s-\s[969a185ea4d19037]\sto\s9.0\s-\s[c3c498a6a853f3b8].\r\n\r\nThis\swas\sreally\sheavy\sbug\s-\screate/find\shash\sentry\shad\smistakenly\scompare\spointer\swith\sa\scontent,\sinvalid\sfor\sall\snon-pointer\shash-types,\scontaining\sdata\s(strings/arrays)\sdirectly\sin\sthe\shash\skey.\r\n\r\nWell,\sfortunately\sDons\svalgrind\swas\sbetter\sthan\smy,\sand\sfinally\sit\scame\sto\slight...\r\nAnd\sthanks\sfor\syour\sobstinacy,\sDon.\r\n\r\nI'm\salso\ssure\sthe\scomplain\swould\sdisappear\snow\s(also\swithout\s[0e273ad998f16100]).\r\n\r\n>\s<i>The\sroutine\sClockFmtScnStorageAllocProc\salso\shas\sa\smemset()\scall.</i>\r\n\r\nThis\smemset\sonly\sresets\sthe\spart\sresponsible\sfor\sClockFmtScnStorage...\s\r\nSo\safter\sall\sby\sempty\sformat\s(1\sbyte\slong,\sNTS)\sit\scontains\s3\s(x86)\sor\s7\s(x64)\suninitialized\sbytes\sin\skey.\r\n(And\sit\swas\sa\sgood\sthing,\sotherwise\sthat\sbug\swould\sbe\snever\sfound\sand\scaused\sextremely\srare\sheisenbug\son\ssome\sconstellation\sfor\scontaining\sdata\skey\stypes).\r\n\r\n\r\n>\s<i>I\sdid\snot\sattempt\sto\sreview\sthe\scalculations\sof\sallocsize.</i>\r\n\r\nEverything\smust\sbe\scorrect\sthere,\sbut\sI\scould\srewrite\sit\smore\sclear.
J login sebres
J mimetype text/x-fossil-wiki
K 167e0635db79f05d23d766376f6eed32b1572451
U sebres
Z 1678b2643477ab2a3ac7aa6027b95f4d