summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2017-04-20 11:24:05 -0700
committerScott Shawcroft <scott.shawcroft@gmail.com>2017-04-20 11:24:05 -0700
commit939c0045dbf2694a12432ad861db166ecf483b67 (patch)
tree79a3c953981101d240fe8256879b19ed1da8486a /tools
parent076ff82c46a29ce899cb72a88f568f967f109bd7 (diff)
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.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions