Project

General

Profile

Bug #4843

wireshark: Incorrect handling of RLCMAC spare bits in GPRS data blocks

Added by pespin 30 days ago. Updated 8 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
11/03/2020
Due date:
% Done:

100%

Spec Reference:

Description

The code currently handling the LI array (rlc blocks) takes into account the spare bits which shows wrong length and llc data (also passing incorrect data to above dissector).

I started a fix here, but then wireshark is failing on other packets, so I still need to improve it.

I also attach a pcap file showing the faulty data blocks. In there you can see wireshark showing Length=31 but in reality it's 30 bytes of data and 1 byte of spare bits at the end, so this distinction should be properly handled.

History

#1 Updated by pespin 8 days ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

I submitted a fix for this issue and was merged in wireshark, see wireshark.git 9d5de22a88b9cbd01e9f16953b2e372835d3d0d6.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)