mirror of https://github.com/OISF/suricata
mpls: fix misaligned read
Instead of casting the packet buffer to a uint32, memcpy it to avoid misaligned read error, as caught by the undefined behavior detector (ubsan). Redmine issue: https://redmine.openinfosecfoundation.org/issues/2903pull/3810/head
parent
a4ec133a88
commit
164fb71898
Loading…
Reference in New Issue