Decompression fails if IPv6 extensions list is not present anymore

Bug #1096358 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
Won't Fix
Medium
Didier Barvaux
1.4.x
Won't Fix
Medium
Didier Barvaux
Rohc-1.5.x
Fix Released
Medium
Didier Barvaux
Rohc-main
Fix Released
Medium
Didier Barvaux

Bug Description

When compressing/decompressing one IPv6 stream with some extension headers, the decompressor fails to decompress one packet of that stream without any extension header. This is an unexpected stream, but the library shall be robust to such cases. Attached a faulty stream.

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

Confirmed on main branch.

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

Solution: detect behaviour change (N > 0 extension headers -> 0 extension header), then force extension list transmission (ie. IR or IR-DYN packet).

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

The other way (0 extension header -> N > 0 extension headers), the transmission counter shall be reset, then extension list transmission forced too (ie. IR or IR-DYN packet).

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.