[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH qemu] mips/malta: pass RNG seed to to kernel via env var
From: |
Jason A. Donenfeld |
Subject: |
Re: [PATCH qemu] mips/malta: pass RNG seed to to kernel via env var |
Date: |
Fri, 30 Sep 2022 17:06:54 +0200 |
On Fri, Sep 30, 2022 at 5:05 PM Daniel P. Berrangé <berrange@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.