Re:Redesigned Notepad for Windows 11
by jamesfinlayson on Tuesday December 07, 2021 @06:56PM
(#29479752)
> one useful shim is known as HeapPadAllocation; it is applied to programs that have heap buffer overrun bugs. The shim intercepts calls to the HeapAllocate function and adds a specified amount to the requested size. That way, when the program overruns a buffer, it merely corrupts the padding rather than corrupting the next heap block.
Oh good grief.