In lines L921-925 error logic for size
perestoronin opened this issue · 1 comments
perestoronin commented
kentrussell commented
Size is cumulative. Overwriting it each time won't help. Basically we're passing in the buf+size to get the next clock and increasing the size of the clocks. Then we add the next clock, and the next clock. Making it = instead of += will essentially just give us OD_CCLK and will drop the previous clock levels. If we were doing a case based on the OD_* fields, then it should be size=, but since we're putting all of it together in the same buf, it should be +=