On Sun, Apr 24, 2022 at 10:48 PM Mikulas Patocka wrote:
>
> If we pass too short string to "hex2bin" (and the string size without the
> terminating NUL character is even), "hex2bin" reads one byte after the
> terminating NUL character. This patch fixes it.
>
> Signed-off-by: Mikulas Patocka
> Cc:
If we pass too short string to "hex2bin" (and the string size without the
terminating NUL character is even), "hex2bin" reads one byte after the
terminating NUL character. This patch fixes it.
Signed-off-by: Mikulas Patocka
Cc: sta...@vger.kernel.org
---
lib/hexdump.c |9 ++---
1 file c