You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we see that duplicate packets are not taken into account and may brake packet collection or in the worst case, if they slip through sanity checks, we could interpret incomplete frame as complete.
The correct way to do it is to:
for each frame
keep track of its collected packets (by nr)
only if we have all parts (tracked by packet number)
Looking at the implementation I see that the library doesn't handle duplicate UDP packets correctly.
There is no guarantee that UDP packets will not arrive multiple times.
Looking at the code here:
we see that duplicate packets are not taken into account and may brake packet collection or in the worst case, if they slip through sanity checks, we could interpret incomplete frame as complete.
The correct way to do it is to:
Possibly related to UNHVD#10,
The text was updated successfully, but these errors were encountered: