[pcre-dev] [Bug 1801] Test #18 fails

トップ ページ
このメッセージを削除
著者: admin
日付:  
To: pcre-dev
題目: [pcre-dev] [Bug 1801] Test #18 fails
https://bugs.exim.org/show_bug.cgi?id=1801

--- Comment #1 from Philip Hazel <ph10@???> ---
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.