Thomas Faber

[WIN32K:ENG]

- In PDEVOBJ_vRefreshModeList, restore the current mode pointer, ppdev->pdmwDev, to a valid value.

CORE-13097 #resolve

    • -0
    • +2
    /trunk/reactos/win32ss/gdi/eng/pdevobj.c
[USER32]

Fix heap corruption in EnumDisplaySettingsExA/W:

- Do not overwrite the user-provided buffer size in dmDriverExtra

- Fix broken pointer arithmetic

CORE-13097

[WININET]

- Silence Firefox/Safari debug spam

CORE-12853 CORE-12128 CORE-11135

    • -0
    • +1
    /trunk/reactos/sdk/include/psdk/wininet.h
    • -0
    • +10
    /trunk/reactos/dll/win32/wininet/internet.c
[NTOS:MM]

- In MiFlushTbAndCapture, only print a fixme if we actually need to do something.

CORE-12074 #resolve

    • -2
    • +8
    /trunk/reactos/ntoskrnl/mm/ARM3/section.c
[CONSOLE]

- Fix build

CORE-12451

    • -0
    • +1
    /trunk/reactos/dll/cpl/console/console.h
[CRYPTNET]

- Fix ROS-Diff. Spotted by CRLF.

CORE-13117 #resolve

[NTOS:MM]

- In NtMapViewOfSection, check for address alignment after validating the handles. This fixes the tests from the previous commit, but is also necessary because information about the section object is necessary to avoid the alignment checks for physical memory sections.

CORE-13113

    • -17
    • +21
    /trunk/reactos/ntoskrnl/mm/ARM3/section.c
[KMTESTS:MM]

- Show that NtMapViewOfSection validates section and process handles before checking base address alignment

CORE-13113

[NTOS:MM]

- Check for ROS section object before accessing the AllocationAttributes member in NtMapViewOfSection, since ARM3 sections use a different structure.

CORE-13113

    • -1
    • +2
    /trunk/reactos/ntoskrnl/mm/ARM3/section.c
[KMTESTS:MM]

- Enable MEM_RESERVED test in SimpleErrorChecks() since it no longer asserts. Patch by Serge Gautherie.

ROSTESTS-109 #resolve

[NTOS:KE]

- Reset DebugDpcTime before calling timer DPC routines. Avoids spurious "DPC routine > 1 sec" break-ins.

[NTOS:MM]

- Avoid reference leaks in failure cases of MmCreateCacheSection

CORE-6931

    • -0
    • +4
    /trunk/reactos/ntoskrnl/cache/section/data.c
[VGADDI]

- Fix buffer overflow in DIB_BltFromVGA. A byte fits two pixels.

[NTOS:MM]

- Never use special pool for prototype PTEs. Avoids "(PointerPte >= (PMMPTE)MmPagedPoolStart) && (PointerPte <= (PMMPTE)MmPagedPoolEnd)" assertion failure in MiDecrementShareCount.

CORE-11474

    • -0
    • +7
    /trunk/reactos/ntoskrnl/mm/ARM3/special.c
[KERNEL32_WINETEST]

- Improve the test_GetVolumePathNamesForVolumeNameW hack to avoid a stack buffer underrun.

CORE-11474

[OPENGL32]

- Fix uninitialized variable use in IntGetIcdData

CORE-11474

[KMTESTS:OB]

- After ObCreateObject+ObInsertObject a handle close is enough to destroy the object, so do not dereference it in addition. Fixes use after free.

CORE-11474

    • -2
    • +4
    /trunk/rostests/kmtests/ntos_ob/ObType.c
[KMTESTS:NPFS]

- Remove tests that cause pool buffer overflows. NtQueryVolumeInformationFile does not validate buffer length for kernel mode callers, so passing an invalid length is not a good test.

CORE-11474

[WS2_32][DNSAPI]

- Avoid stack buffer overflow in ParseV4Address

CORE-11474

    • -0
    • +1
    /trunk/reactos/dll/win32/dnsapi/dnsapi/query.c
    • -0
    • +1
    /trunk/reactos/dll/win32/ws2_32/src/addrinfo.c
[GDI32]

- Use the number of WCHARs, not the number of ANSI chars in GetCharABCWidthsA. Fixes stack corruption when running gdi32_winetest:font

CORE-11474

[USER32]

- In RealSystemParametersInfoA/SPI_GETDESKWALLPAPER, write the ansi wallpaper path directly into the user's buffer instead of using an allocation (and overrunning it). Fixes crash when running user32_winetest:sysparams with DPH.

Tangential to CORE-13097

[KMTESTS:MM]

- Add some missing newlines and skip()s

[WIN32K]

Fix automatic resolution change when resizing the VirtualBox window. Based on a patch by Ismael Ferreras Morezuelas.

- Provide a function, PDEVOBJ_vRefreshModeList, to reload the list of display modes

- Call PDEVOBJ_vRefreshModeList from UserEnumDisplaySettings to get an updated list of modes each time

CORE-6742 #resolve

    • -1
    • +9
    /trunk/reactos/win32ss/user/ntuser/display.c
    • -0
    • +5
    /trunk/reactos/win32ss/gdi/eng/device.h
    • -0
    • +39
    /trunk/reactos/win32ss/gdi/eng/pdevobj.c
[WIN32K:ENG]

- Split populating the display mode list out from EngpRegisterGraphicsDevice, into its own function, EngpPopulateDeviceModeList. Based on a patch by Ismael Ferreras Morezuelas.

CORE-6742

    • -92
    • +112
    /trunk/reactos/win32ss/gdi/eng/device.c
    • -0
    • +5
    /trunk/reactos/win32ss/gdi/eng/device.h
[NTOS:CC]

- Respect the TruncateSize parameter in CcUninitializeCacheMap. Avoids "freeing dirty VACB" messages for cache views beyond the end of the file.

CORE-12893 #resolve

[NTOS:CC]

- Simplify CcSetFileSizes by using CcPurgeCacheSection

CORE-12893

[NTOS:CC]

- Implement CcPurgeCacheSection

CORE-12893

[FASTFAT]

- On rename/move, flush parent directory data from cache instead of purging it.

CORE-12893

[NTOS:CC]

- Rename ROS_SHARED_CACHE_MAP::RefCount to OpenCount. One step closer to the real SHARED_CACHE_MAP.

CORE-8065

    • -14
    • +14
    /trunk/reactos/ntoskrnl/cc/view.c
[UNIATA]

- Update to version 0.46e3 (and fix up the version numbers)

- Un-"fix" insignificant typo corrections that only serve to make syncing harder

CORE-13032 #resolve

CORE-11894 CORE-11277 CORE-12909