summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-12-11 18:59:43 -0500
committerDavid Robillard <d@drobilla.net>2024-12-11 19:37:21 -0500
commite1671ccdda0b501e27dd5afdbe05bb31656409a3 (patch)
tree9604b7fb1ea31c2959fbcc6f9c10ad13af215e82 /COPYING
parent34d7e6eb5b0a8a8cc218f96037fbca02849602cb (diff)
downloadsord-main.tar.gz
sord-main.tar.bz2
sord-main.zip
Calculate node header hash from a separate variableHEADmain
Really just to avoid passing a buffer smaller than 64 bits to zix_digest(). Although that's safe (it doesn't read beyond the provided size), this is beyond some static analysis tools. So, avoid false positives by first copying the relevant header to a size_t variable making it statically obvious that (on 64-bit) 8 bytes of memory are available for reading.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions