diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-05-04 14:20:16 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-05-04 14:26:57 -0700 |
commit | c4c30c7dc92ad8f5c00bf8facaa089b4ed9cab53 (patch) | |
tree | 8814bb4e7dc13e9a43d7cdba528ceac1317b6a47 /enumerate | |
parent | d2410e14c6af85f917f79de6f19fb6e60d37d74f (diff) | |
download | mu-c4c30c7dc92ad8f5c00bf8facaa089b4ed9cab53.tar.gz |
5140 - fix an out-of-bounds bug
We were writing 32-bit words when we meant to write 8-bit bytes. Most of the time this doesn't matter because: * x86 is little endian, * a write to (x, x+1, x+2, x+3) is over-written by the next to (x+1, x+2, x+3, x+4), and * the 3 higher/later bytes are always 0 so no information is lost The only place this matters is if we're close to the end of the stream.
Diffstat (limited to 'enumerate')
0 files changed, 0 insertions, 0 deletions