Actions
Bug #149
closedbug in Kernel.Upper/Lower
Start date:
03/09/2017
Due date:
% Done:
100%
Estimated time:
Forum topic:
Description
Calling Kernel.Upper/Lower can crash the system because the argument
is not passed correctly as a single character to WinApi.CharUpperW/CharLowerW.
Instead it may be treated as a zero-terminated character string
and converted in place, which overwrites memory at an arbitrary location.
In order to fix this, the character must be zero extended to a 32-bit value
before passing it to WinApi.
Updated by I. Denisov over 8 years ago
- % Done changed from 0 to 100
- Forum topic set to f=49&t=598
Actions