https://bugs.exim.org/show_bug.cgi?id=1801
--- Comment #1 from Philip Hazel <[email protected]> --- Thanks for the report. From your output it would appear that the snprintf() function, which is now used in PCRE2's version of regerror(), behaves differently in your environment when the buffer is too small (which was what that test was testing). In my world, it puts a binary zero at the end of the buffer; in yours it would appear not to. (I have no way of testing under Windows.) I have committed a patch that limits what snprintf() can write, which should stop your very long string. However, it may still print one more character. Please can you test the latest head code and get back to me? Thanks. -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev
