Comment # 5
on bug 11134
from Evan Huus
> So how are you supposed to handle packets which don't have any data?
Pass `0` explicitly as the length. This entire logic case is under the `-1`
case.
`-1` has always meant "until the end of the packet" but after it caused some
other issues, we changed it to also require that the offset must at least be
within the bounds of the real packet bytes.
Sounds like idl2wrs needs to be changed to stop generating -1 for packets that
have no data.
You are receiving this mail because:
- You are watching all bug changes.