Liviu Nicoara wrote:
The problem - as I saw it in the locale_name_fmat comp test Jeremy was
running - seems to be a buffer overrun in LOCALE_NAME_FMAT.cpp at line
189 (trunk) because the 'def_locale' buffer may not have enough space to
hold the name of a locale, e.g. the one Jeremy got:

LC_CTYPE=en_US.UTF-8;LC_NUMERIC=de_DE;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=en_US.UTF-8;LC_ADDRESS=en_US.UTF-8;LC_TELEPHONE=en_US.UTF-8;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=en_US.UTF-8

The trunk version of the comp test is different in structure than the
one he was using but it uses the same buffer size.

Thanks for looking into it! Can either of you open an issue for
this and cross-reference this thread by inserting a link to it
from the archive (when it shows up -- see INFRA-812:
http://issues.apache.org/jira/browse/INFRA-812)

Martin

Reply via email to