Actions
Bug #2903
closedmpls: cast of misaligned data leads to undefined behvaviour
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 to Bug #2948: mpls: cast of misaligned data leads to undefined behvaviour (master) added
Updated by Victor Julien over 5 years ago
- Status changed from Assigned to Closed
Actions