reactos/win32ss/gdi/ntgdi
Joachim Henze aa42c29c1c [0.4.13][NTGDI] Fix potential BSOD 0x1E CORE-17626
in CreateDIBPalette() when passing invalid arguments to CreateDIBSection.
This could be triggered by using the broken test-application "GDIProg".

After this patch not only the BSOD is fixed but also the app does
properly start up, like it is the case on 2k3sp2.

The problem was unhidden by the innocent and unrelated 0.4.12-dev-266-g 8ab3652c01
I was not able to trigger the bug in releases older than 0.4.12,
but it is rather obvious that the mentioned revision is not really 'guilty', which
is why I will port the fix back further into releases even older than 0.4.12 as well.

Thanks to the patches author Doug Lyons.

a squashed port of:
0.4.15-dev-2734-g 514147776a (fixes the BSOD)
0.4.15-dev-2775-g c596fd3ef6 (improvement #3758)
0.4.15-dev-2776-g 4130f0b1c5 (compilation fix)
and some white-space tweaking that was committed after those.
2021-11-15 12:06:27 +01:00
..
arc.c
baseobj.hpp
bezier.c
bitblt.c [WIN32SS][NTGDI] Extend PATH_FillPath as PATH_FillPathEx (#798) 2018-08-24 13:37:59 +02:00
bitmaps.c [WIN32SS][GDI] Assume pso->sizlBitmap.cy positiveness (#1743) 2019-07-21 21:39:05 +09:00
bitmaps.h [WIN32SS][NTGDI] Fix UnsafeSetBitmapBits (#1310) 2019-01-27 15:32:52 +09:00
brush.cpp
brush.h
brush.hpp
cliprgn.c [0.4.13][NtGDI] Use Vis Region for New Clip Region CORE-16680 2020-02-10 18:56:09 +01:00
cliprgn.h [NtGDI] Fix ExtSelectClipRgn Tests 2019-05-09 12:33:21 -05:00
color.h
coord.c [WIN32SS][NTGDI] Fix ExtTextOut about TA_UPDATECP (#1546) 2019-05-01 16:51:00 +09:00
coord.h [WIN32SS][NTGDI] Wrap IntLPtoDP and IntDPtoLP macros by do { .... } while (0) 2019-05-04 09:56:09 +09:00
dc.h
dcattr.c
dclife.c [0.4.13][WIN32SS] Fix Opaque Text Fade while in Desktop Startup 2019-12-10 00:04:19 +01:00
dcobjs.c
dcstate.c [NtGDI] Fix ExtSelectClipRgn Tests 2019-05-09 12:33:21 -05:00
dcutil.c [NtGDI] Fix ExtSelectClipRgn Tests 2019-05-09 12:33:21 -05:00
device.c
dib.h
dibobj.c [0.4.13][NTGDI] Fix potential BSOD 0x1E CORE-17626 2021-11-15 12:06:27 +01:00
drawing.c
fillshap.c [NtGDI] Fix ExtSelectClipRgn Tests 2019-05-09 12:33:21 -05:00
font.c [WIN32SS][NTGDI] Support raster fonts (*.fnt and *.fon) (#1739) 2019-07-20 16:47:29 +02:00
font.h [WIN32SS][NTGDI] Registry-based font management (#1816) 2019-08-10 14:52:09 +09:00
freetype.c [0.4.13][FREETYPE] Fix regression fonts in Adobe Photoshop CS2 menu CORE-16694 2020-02-23 12:25:54 +01:00
gdibatch.c [NtGDI] Fix ExtSelectClipRgn Tests 2019-05-09 12:33:21 -05:00
gdidbg.c [REACTOS] Fix misc 64 bit issues (#783) 2019-01-05 10:50:11 +01:00
gdidebug.h
gdifloat.h
gdikdbgext.c
gdiobj.c [Win32SS] Support Clipboard Metafile 2019-05-31 21:44:17 -05:00
gdiobj.h [WIN32SS][NTGDI] Fix wrong IN/OUT (#1539) 2019-04-28 17:24:57 +02:00
gdipool.c
icm.c
init.c
intgdi.h
line.c [NtGDI] Fix ExtSelectClipRgn Tests 2019-05-09 12:33:21 -05:00
metafile.c [Win32SS] Support Clipboard Metafile 2019-05-31 21:44:17 -05:00
misc.h [WIN32SS][NTGDI][NTUSER] Make gusLanguageID USHORT (#1776) 2019-07-31 22:24:01 +09:00
paint.h
palette.c [Win32SS] Fix safe pointer and define type. 2019-09-03 15:02:46 -05:00
palette.h
path.c [WIN32SS] Don't leak memory on failure in IntGdiWidenPath(). 2018-11-16 22:07:08 +01:00
path.h [WIN32SS][NTGDI] Refactoring PATH_WidenPath (#888) 2018-10-28 05:13:08 +09:00
pen.c
pen.h
polyfill.c
print.c [WIN32SS] 2017-11-18 12:15:45 +01:00
rect.c
rect.h [WIN32K] Implement RECTL_bClipRectBySize() and use it in IntEngBitBlt() to clip the target rect against the bounds of the target surface. Also clip the source rect against the source surface. Fixes remaining part of CORE-14463 2018-06-30 16:40:04 +02:00
region.c [WIN32K:NTGDI] Fix ASSERTS in REGION_bXformRgn. CORE-15992 2019-08-07 07:47:47 +02:00
region.h [NtGDI] Update Region code 2019-04-17 14:43:24 -05:00
stockobj.c [WIN32SS][FONT] Fix the system logical stock font data (#709) 2018-08-10 15:37:37 +02:00
text.c [WIN32SS][FONT] Fix GetTextFace function and related (#829) 2018-08-30 14:34:03 +02:00
text.h [WIN32SS][FONT] Fix registry-based management (#1879) 2019-09-10 20:39:52 +09:00
wingl.c
xformobj.c [WIN32SS][NTGDI] Strictly check in XFORMOBJ_iSetXform (#1676) 2019-06-24 21:32:40 +09:00
xformobj.h [WIN32SS][NTGDI][GDI32] Fix DPtoLP and NtGdiTransformPoints etc. (#1540) 2019-04-29 14:45:44 +09:00