Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IPReassembler: pack ChunkLink, since it can be arbitrarily placed in …
…Packet::data These two uint16_ts may end up placed at arbitrary offsets into a packet. In order to generate proper unaligned read/write instructions, mark the struct as packed. This was exposed by Defensic suite IPv4 Header Fragment-offset, test 45067 and discovered by Waldin Stone. I verified it by asserting proper alignment of ChunkLinks and found that they were not always properly aligned. JIRA: MR-6198 Change-Id: I819095c21995147df42c25da02561a1310646580 Reviewed-on: https://gerrit.ikarem.io/72960 Reviewed-by: Peter Hurley <[email protected]> Static-Analysis: Jenkins Build System <[email protected]> Tested-by: Derrick Pallas <[email protected]>
- Loading branch information