In MsgPack::storeUint16(), _reinterpret_cast(target) results in an unaligned memory access on ARMv5 processors. For example when storeUint16() is called to store a length of 0x15 to MAP_16, it is supposed to change header[1] to 0x15 and header[2] to 0x00. However on ARMv5 processors header[0] is also changed to 0x15.
Suggested fix: Replace pointer deference to memcpy()
In MsgPack::storeUint16(), _reinterpret_cast(target) results in an unaligned memory access on ARMv5 processors. For example when storeUint16() is called to store a length of 0x15 to MAP_16, it is supposed to change header[1] to 0x15 and header[2] to 0x00. However on ARMv5 processors header[0] is also changed to 0x15.
Suggested fix: Replace pointer deference to memcpy()