Ticket #11486 (closed defect: fixed)
Fix FromWChar implementation
| Reported by: | kcwu | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | base | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
Original implementation has some issues:
- it may overflow dst buffer by 1 null character
- when convert multibyte characters, it may not fill nul charaters because
src+lenChunk should be src+wxWcslen(src)
This patch also fix comment of FromWChar in strconv.h.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

