Closed Piqlet closed 10 months ago
Thank you, looks reasonably good to me (for being the very first attempt)
This part doesn't look good to me:
writing 96 bytes into a region
of size 64 overflows the destination
The context: I've inserted line breaks for readability:
In file included from /usr/include/string.h:548,
from zpaqfranz.cpp:1823:
In function 'void* memcpy(void*, const void*, size_t)',
inlined from 'void compress_subtree_to_parent_node(
const uint8_t*, size_t, const uint32_t*, uint64_t, uint8_t, uint8_t*)'
at zpaqfranz.cpp:13343:11,
inlined from 'void _Z20blake3_hasher_updateP13blake3_hasherPKvm.part.0(
blake3_hasher*, const void*, size_t)'
at zpaqfranz.cpp:13413:38:
/usr/include/bits/string_fortified.h:29:33: warning:
'void* __builtin___memcpy_chk(
void*, const void*, long unsigned int, long unsigned int)'
writing 96 bytes into a region
of size 64 overflows the destination
[-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
This is a known compiler bug
Good : Arch User Repository (AUR) or only short AUR. ( https://wiki.archlinux.org/title/Arch_User_Repository ) Or example command : yay -S zpaqfranz-git (?)
Installation good : ( I use paru, but yay is more common. https://pkgstats.archlinux.de/compare/packages#packages=paru,yay )