Comparison at arp.c line 283 is wrong.
Bug #1668339 reported by
markus5
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
parprouted (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The comparison at arp.c line 283 is wrong. In 64-bit machines, a long is 64 bits. The cast is wrong. The s_addr is 32 bits long.
It should be something like this.
if ( ipaddr.s_addr == ((struct in_addr *) cur_entry-
To post a comment you must log in.
This bug was fixed in the package parprouted - 0.70-3
---------------
parprouted (0.70-3) unstable; urgency=medium
* Standards-Version updated.
* Always cast to 32 bits. (LP: #1668339)
-- Luciano Bello <email address hidden> Mon, 24 Jul 2017 21:51:12 -0400