Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | py/modstruct: Fix struct.pack_into with unaligned offset of native type. | Damien George | 2019-09-02 |
| | | | | Following the same fix for unpack. | ||
* | py/modstruct: Fix struct.unpack with unaligned offset of native type. | Tom McDermott | 2019-09-02 |
With this patch alignment is done relative to the start of the buffer that is being unpacked, not the raw pointer value, as per CPython. Fixes issue #3314. |