Opened 18 years ago
Last modified 18 years ago
#155 closed defect
libc: setlocale crashes in uconv.dll if the codepage bit is too long — at Initial Version
Reported by: | bird | Owned by: | bird |
---|---|---|---|
Priority: | normal | Milestone: | libc-0.6.2 |
Component: | libc | Version: | 0.6 |
Severity: | normal | Keywords: | setlocale uconv crash |
Cc: |
Description
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.
Note:
See TracTickets
for help on using tickets.