<i>io-7.3 and chanio-7.3 fail in debug mode</i> status still Open with 3 other changes
by
.
D 2023-07-04T06:58:42.180
J icomment Jan,\r\n\r\nIt\swas\sthe\scommit\sthat\scaused\sfailure.\sA\sproposed\sfix\sis\sin\sthe\s[bug-5be203d6ca-apn].\sThe\sroot\scause\sis\sthat\sin\sthe\scase\sof\sthe\struncated\sprefix\sbyte\sbeing\sthe\slast\sone,\ssrc\sis\sincremented\sagain\sat\sthe\sbottom\sof\sthe\sloop\s(in\saddition\sto\sthe\sone\swithin\sthe\sif\s(prefixByte)\scondition)\smaking\sit\spoint\sbeyond\ssrcEnd.\sThe\sresult\scomputation\sof\s*srcReadPtr\sis\sthen\sobviously\swrong.\r\n\r\nHowever,\sthis\sfix\sis\snot\sfinal.\r\n\r\nFirst,\sother\sdecoding\sfunctions\sneed\sto\sbe\schecked\sfor\sthe\ssame\serror.\r\n\r\nMore\simportant,\sit\sis\snot\sclear\sto\sme\snow\swhy\sthe\soriginal\scode\swhere\ssrc\swas\sbeing\sdecremented\searlier\s(as\sin\s8.6)\scaused\sthe\sassertion\sfailures\sin\sthe\stests.\sIs\sit\spossible\sthe\sassertion\sis\sitself\swrong?\sI\sdon't\sunderstand\sthe\sio\ssystem\senough\sto\smake\sa\scall\son\sthat.\r\n\r\n/Ashok
J login apnadkarni
J mimetype text/x-fossil-plain
K 5be203d6caa9298363310b3436cb00e2928279c1
U apnadkarni
Z 91ec57abe0601e6a15e586cceeccf00f