Incorrect format for UO-1-ID packet

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

Bug Description

In c_generic.c, the UO-1-ID packet format is described as follow:

      0 1 2 3 4 5 6 7
    +-----+-----+-----+-----+-----+-----+-----+-----+
     | 1 0 |T=0 | IP-ID |
    +===+===+====+====+====+====+====+
     | M | SN | CRC |
    +-----+-----+-----+-----+-----+-----+-----+-----+

In the RFC 3095, section 5.7.3, page 81, the UO-1-ID packet format is described as follow:

      0 1 2 3 4 5 6 7
    +-----+-----+-----+-----+-----+-----+-----+-----+
     | 1 0 |T=0 | IP-ID |
    +===+===+====+====+====+====+====+
     | X | SN | CRC |
    +-----+-----+-----+-----+-----+-----+-----+-----+

The M bit should be a X bit.

Many thanks to Ahmed Fathy for reporting this problem in Question #121378 (https://answers.launchpad.net/rohc/+question/121378).

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

To be confirmed on 1.2.x.

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

To be confirmed on 1.3.x.

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

To be confirmed on main branch.

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

Confirmed on the 1.2.x branch.

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

Confirmed on the 1.3.x branch.

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

Confirmed on trunk.

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

The bug will not be fixed in the 1.3.x branch since it would break compatibility between 1.3.x releases. A note about the bug was added in the README file.
See http://bazaar.launchpad.net/~didier-barvaux/rohc/1.3.x/revision/172

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

The bug will not be fixed in the 1.2.x branch since it would break compatibility between 1.2.x releases. A note about the bug was added in the README file.

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

Update the compressor logic to replace the M bit by a X bit (always 0 at the moment). Also update the decompressor logic to read a X bit instead of the M bit (drop the packet if the X bit is set to 1 at the moment). See http://bazaar.launchpad.net/~didier-barvaux/rohc/main/revision/291

Extention support for UO-1-ID packets shall be written later. See bug #896842 entitled "Add extension support for UO-1-ID packet".

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

FAQ #1806 was updated to report the lack of extension support for UO-1-ID packets.

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

Other bug subscribers

Related questions

Remote bug watches

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