On 20/11/23 22:45, Paolo Bonzini wrote:
From: Philippe Mathieu-Daudé
Propagate the buffer size to format_dec() and use snprintf().
This should silence this UBSan -Wformat-overflow warning:
"produced when using GCC 12.1.0:"
In file included from /usr/include/stdio.h:906,
On 2023/11/21 6:45, Paolo Bonzini wrote:
From: Philippe Mathieu-Daudé
Propagate the buffer size to format_dec() and use snprintf().
This should silence this UBSan -Wformat-overflow warning:
In file included from /usr/include/stdio.h:906,
from include/qemu/osdep.h:114,
From: Philippe Mathieu-Daudé
Propagate the buffer size to format_dec() and use snprintf().
This should silence this UBSan -Wformat-overflow warning:
In file included from /usr/include/stdio.h:906,
from include/qemu/osdep.h:114,
from ../disas/cris.c:21: