diff options
author | David Robillard <d@drobilla.net> | 2024-12-11 18:59:43 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-12-11 19:37:21 -0500 |
commit | e1671ccdda0b501e27dd5afdbe05bb31656409a3 (patch) | |
tree | 9604b7fb1ea31c2959fbcc6f9c10ad13af215e82 /COPYING | |
parent | 34d7e6eb5b0a8a8cc218f96037fbca02849602cb (diff) | |
download | sord-main.tar.gz sord-main.tar.bz2 sord-main.zip |
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