On Fri, 29 May 2026 08:02:41 +0200, Philippe Mathieu-Daude wrote:
> there are only 3 uses in the code base. Maybe drop qemu_strnlen()
> altogether, using size_t in the callers?

Good suggestion. I've sent a v2 that drops qemu_strnlen() entirely and
switches all callers to strnlen() directly. I also aligned bsd-user/uaccess.c
to use size_t for max_len/len, matching linux-user/uaccess.c.

New patch:
https://lore.kernel.org/qemu-devel/[email protected]/

Thanks,
Bin Guo

Reply via email to