crc calc outer ip hdr wrong

Bug #766277 reported by Klaus Warnke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rohc
Status tracked in Rohc-main
1.2.x
Invalid
Undecided
Didier Barvaux
1.3.x
Won't Fix
Medium
Didier Barvaux
Rohc-main
Fix Released
Medium
Didier Barvaux

Bug Description

The crc7 calculation for UOR-2-TS packet is wrong.
packet 7 in ipv4/ipv4/udp/rtp/mp3-variable-pt can not decompressed.

ToFix:
crc.c line 249: typo:

replace
    struct iphdr *ip2_hdr = (struct iphdr *) ip;
with
    struct iphdr *ip2_hdr = (struct iphdr *) ip2;

regards, Klaus

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Versions 1.2.x are not affected. The code is very different.

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Versions 1.3.x are affected.

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Trunk is affected.

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Thank you for reporting the bug!

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

The bug will not be fixed in the 1.3.x branch since the fix would change the output of the library. The README file was updated to mention the existing bug. See http://bazaar.launchpad.net/~didier-barvaux/rohc/1.3.x/revision/157

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.