Changes between Initial Version and Version 1 of Ticket #155
- Timestamp:
- Apr 24, 2007, 11:07:04 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #155
-
Property
Status
changed from
new
toclosed
-
Property
Resolution
changed from
to
fixed
-
Property
Summary
changed from
libc: setlocale crashes in uconv.dll if the codepage bit is too long
tolibc: setlocale calls UniFreeUconvObjec(NULL) instead of UniFreeLocalObject causing crash in UConv.dll
-
Property
Status
changed from
-
Ticket #155 – Description
initial v1 1 The perl lib/locale.t failes on the {{{setlocale(LC_ALL, "ar_dz.arabic8.UTF-8")}}} call. Creating the UConv object causes a crash in UCONV.DLL. Trying the abc game I find that it starts crashing with {{{setlocale(LC_ALL, "ar_dz.abcdefghij")}}} . The crash is a buffer overflow / heap corruption of some kind. So, setlocale should probably refuse passing anything to UConv which will trigger this problem.1 The perl lib/locale.t failes on the {{{setlocale(LC_ALL, "ar_dz.arabic8.UTF-8")}}} call. Creating the UConv object causes a crash in UCONV.DLL. Trying the abc game I find that it starts crashing with {{{setlocale(LC_ALL, "ar_dz.abcdefghij")}}}, however it's not quite as simple. see last comment.