Actions
Bug #2948
closedmpls: cast of misaligned data leads to undefined behvaviour (master)
Affected Versions:
Effort:
low
Difficulty:
low
Label:
Description
From reporter:
decode-mpls.c:61:16: runtime error: load of misaligned address 0x60300016d216 for type 'uint32_t' (aka 'unsigned int'), which requires 4 byte alignment
Instead of casing the data to a uint32_t we should memcpy it.
Updated by Victor Julien over 5 years ago
- Copied from Bug #2903: mpls: cast of misaligned data leads to undefined behvaviour added
Updated by Victor Julien over 5 years ago
- Status changed from Assigned to Closed
- Private changed from Yes to No
Actions