SN is a 16-bit unsigned value for IP/UDP and IP-only profiles

Bug #1030054 reported by Didier Barvaux
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rohc
Status tracked in Rohc-main
1.3.x
Fix Released
Medium
Didier Barvaux
1.4.x
Fix Released
Medium
Didier Barvaux
Rohc-main
Fix Released
Medium
Didier Barvaux

Bug Description

RFC 3095, section 5.11 states:
   Therefore, in the ROHC UDP profile, the compressor generates a 16-bit
   sequence number SN which increases by one for each packet received in
   the packet stream.

However in the ROHC library, the SN is not bounded:
     /* increase the SN every time we encode something */
      g_context->sn++;

This is wrong, SN must be in range [0 ; 0xffff].

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

Confirmed on 1.3.x

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

Confirmed on 1.4.x

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

Confirmed on trunk.

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :
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.