libpcap pcap-ng timestamp fraction calculation is wrong
Bug #1397932 reported by
Georg Müller
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpcap (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Description of problem:
Version-Release number of selected component (if applicable):
lipcap 1.6.0 and above
How reproducible:
Open a pcap-ng file with nanosecod resolution. The timestamp fractions returned by pcap_next_ex() will be bigger than the requested fraction (i.e. a value > 1.000.000 for microsecond resolution).
Additional info:
The problem is described in more detail in the libpcap github issue tracker:
https:/
To post a comment you must log in.
A patch for the issue is now in upstream master.
https:/ /github. com/the- tcpdump- group/libpcap/ commit/ 6a9c2cb19cb7eeb dab8d2fa7a592d3 9130f8bf61. patch
It would be nice to backport this for ubuntu 14.10.