Project

General

Profile

Bug #4843

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

Added by pespin 21 days ago.

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

0%

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.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)