The buffer in ltree_crc32_sz() is more than large enough in practice,but it didn't explicitly leave room for the NUL byte. Patch attached.
Regards, Jeff Davis