On Wed Jun 15 19:57:52 2022 +0000, Alexandre Julliard wrote:
snprintf doesn't return -1 on overflow (which is the only failure you care about here).
Thanks for pointing that out. I have corrected the overflow checks, and I will be careful to avoid similar mistakes in the future.