Re: [Tuxpaint-devel] Locale detection problem on 64bit version for windows.
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Bill K. <nb...@so...> - 2021-10-26 05:48:24
|
On Tue, Oct 26, 2021 at 12:23:45AM +0900, TOYAMA Shin-ichi wrote: > Hi developpers, > > At first, please take note that the problem is that 64bit > executable for windows crash when it start unless specific locale > is set by config/command line option/environment variable. > > I found that the crash occurs in mysetenv() in i18n.c when > strlen(value) is called. This probably won't "fix" the overall issue that's causing the crash, but I've updated mysetenv() to be lest trusting of its incoming arguments. If either `name` and/or `value` is NULL, it will avoid doing anything dangerous with them, and spit out a warning to STDERR. https://sourceforge.net/p/tuxpaint/tuxpaint/ci/1bee12246eedd6ddc4790bb5dacdec6b50685a6e/ -bill! |