On Fri, Sep 30, 2022 at 5:05 PM Daniel P. Berrangé <berra...@redhat.com> wrote: > The +1 suggests you're intending to NUL terminate, but nothing > in this patch ever initializes this last byte.
Incorrect. sprintf("%02x") writes 3 bytes, the last of which is 0.