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.
Actions