Comment # 15
on bug 9263
from Jörg Mayer
(In reply to comment #12)
> Comment on attachment 11777 [details]
> Change the error return value of tvb_[reported_]length_remaining() from -1
> to 0.
The following comment change in tvbuf.h looks misleading to me:
/** Computes bytes to end of buffer, from offset (which can be negative,
* indicate that offset is out of bounds. No exception is thrown. */
Nothing remaining is a valid situation while trying to access out of bounds
data is not: The latter indicates either a programming error or an invalid
packet.
I'm not happy with that change.
You are receiving this mail because:
- You are watching all bug changes.