3 ms·
Does anybody know whether they are going to fix the INT_MIN / -1 bug in the kernel? This code below (compiled and linked with gdi32) crashes fully patched versi
by conductor 13y ago
Does anybody know whether they are going to fix the INT_MIN / -1 bug in the kernel? This code below (compiled and linked with gdi32) crashes fully patched versions of Windows 7 and 8 (32 bit), I didn't try it with 64bit versions.
#include <windows.h>
#include <limits.h>
int main() {
HDC dc = CreateCompatibleDC (NULL);
SetLayout (dc, LAYOUT_RTL);
ScaleWindowExtEx (dc, INT_MIN, -1, 1, 1, NULL);
}
- eps 13y agoThat'll likely be a regular update through Windows Update.
- whacker 13y agowhy isn't this treated as a serious security issue?
- marshray 13y agoIs it exploitable to gain elevated privileges? Typically a user with the ability to make those calls can shut down the machine anyway. But Terminal Services/Remote Desktop may be an exception.