libpcap pcap-ng timestamp fraction calculation is wrong

Bug #1397932 reported by Georg Müller
6
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://github.com/the-tcpdump-group/libpcap/issues/396

Revision history for this message
Georg Müller (georgmueller) wrote :

A patch for the issue is now in upstream master.

https://github.com/the-tcpdump-group/libpcap/commit/6a9c2cb19cb7eebdab8d2fa7a592d39130f8bf61.patch

It would be nice to backport this for ubuntu 14.10.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.