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
While traversing the list of open instances (capture handles) to remove one and accumulate the packet filter values of the others, the Next pointer of the instance being removed was set to NULL, causing early termination of the loop. Any instances farther down the list (i.e. older instances) would have their packet filters ignored, resulting in incorrect capture parameters being used. This removal happens on every adapter during a call to pcap_findalldevs(), so it is reasonable to assume it will affect a significant number of users.
The next time any instance sets a packet filter, a different, unaffected loop will accumulate the previously ignored values, resolving the issue. Therefore in most cases where listing adapters is immediately followed by starting a capture, the interruption will be of short duration.
This issue affects Npcap 1.70 and 1.71.
The text was updated successfully, but these errors were encountered:
Introduced in 28b7307. Fixed in f7837ff.
While traversing the list of open instances (capture handles) to remove one and accumulate the packet filter values of the others, the Next pointer of the instance being removed was set to NULL, causing early termination of the loop. Any instances farther down the list (i.e. older instances) would have their packet filters ignored, resulting in incorrect capture parameters being used. This removal happens on every adapter during a call to
pcap_findalldevs()
, so it is reasonable to assume it will affect a significant number of users.The next time any instance sets a packet filter, a different, unaffected loop will accumulate the previously ignored values, resolving the issue. Therefore in most cases where listing adapters is immediately followed by starting a capture, the interruption will be of short duration.
This issue affects Npcap 1.70 and 1.71.
The text was updated successfully, but these errors were encountered: