Project

General

Profile

Actions

Bug #149

closed

bug in Kernel.Upper/Lower

Added by J. Templ over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03/09/2017
Due date:
% Done:

100%

Estimated time:

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.

Actions #1

Updated by R. Campbell over 8 years ago

  • Status changed from New to Closed
Actions #2

Updated by I. Denisov over 8 years ago

  • % Done changed from 0 to 100
  • Forum topic set to f=49&t=598
Actions

Also available in: Atom PDF