]> git.ipfire.org Git - thirdparty/vectorscan.git/commit
dump: always allocate >=8 bytes for multibit
authorJustin Viiret <justin.viiret@intel.com>
Wed, 31 May 2017 03:07:22 +0000 (13:07 +1000)
committerMatthew Barr <matthew.barr@intel.com>
Mon, 21 Aug 2017 00:40:18 +0000 (10:40 +1000)
commitbdae3d5b80a3be2eae20b3e885e91f370cb919de
tree6f40589174cc46c0c4cf804f49c4cd2c4f9e59b6
parent85f7790a2155312760f6714ad0eda3d553c8607d
dump: always allocate >=8 bytes for multibit

The multibit runtime assumes that it is always safe to read 8 bytes, so
we must over-allocate for smaller sizes. Caught by ASan.
src/rose/rose_build_dump.cpp