Overview
| Artifact ID: | aa1d28ee04c3efbb0a4472678dc2fa71fa3c059126ae2a0f78d492c7f7677b47 |
|---|---|
| Ticket: | 5be203d6caa9298363310b3436cb00e2928279c1
io-7.3 and chanio-7.3 fail in debug mode |
| User & Date: | apnadkarni on 2023-07-04 06:58:42 |
Changes
- icomment:
Jan, It was the commit that caused failure. A proposed fix is in the [bug-5be203d6ca-apn]. The root cause is that in the case of the truncated prefix byte being the last one, src is incremented again at the bottom of the loop (in addition to the one within the if (prefixByte) condition) making it point beyond srcEnd. The result computation of *srcReadPtr is then obviously wrong. However, this fix is not final. First, other decoding functions need to be checked for the same error. More important, it is not clear to me now why the original code where src was being decremented earlier (as in 8.6) caused the assertion failures in the tests. Is it possible the assertion is itself wrong? I don't understand the io system enough to make a call on that. /Ashok
- login: "apnadkarni"
- mimetype: "text/x-fossil-plain"