Commit Graph

2 Commits

Author SHA1 Message Date
Scott Shawcroft 966a48b23a
More size_t usage 2019-08-27 12:49:46 -07:00
Scott Shawcroft 939c0045db Switch to a shared piece of code to compute start and length of a
buffer from start, end and length. The old code miscomputed length
leading to writing and reading from memory past the end of the buffer.
Consolidating the code should make it easier to get right everywhere.
2017-04-20 11:24:05 -07:00