-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
bugBug reportBug reportcompletedWork has been completed on this issue and changes have been committed to `develop` branch..Work has been completed on this issue and changes have been committed to `develop` branch..
Description
In WideCharToChar
in UEncodings
the 1st call to WideCharToMultiByte
passes reference to Dest
array, before that array's size has been set. Instead of passing Dest
, nil
should be passed here.
Instead of
BufSize := WideCharToMultiByte(
CodePage, 0, @Source, 1, @Dest[0], 0, nil, nil
);
uses
BufSize := WideCharToMultiByte(
CodePage, 0, @Source, 1, nil, 0, nil, nil
);
Metadata
Metadata
Assignees
Labels
bugBug reportBug reportcompletedWork has been completed on this issue and changes have been committed to `develop` branch..Work has been completed on this issue and changes have been committed to `develop` branch..