Alexandre Julliard pushed to branch master at wine / wine
Commits: 48ecdad3 by Wei Xie at 2025-11-05T18:27:58+01:00 kernelbase: Allocate buffer dynamically in DefineDosDeviceW.
The original code used a fixed-size buffer (15 chars) which could overflow with long device names.
Signed-off-by: Wei Xie xiewei@uniontech.com
- - - - - f03b8f0c by Wei Xie at 2025-11-05T18:28:47+01:00 kernel32/tests: Add some DefineDosDeviceW test cases.
Added test cases for DefineDosDeviceW function to verify proper handling of raw target paths and definition removal. The new tests check: 1. Creating a DOS device with DDD_RAW_TARGET_PATH flag 2. Proper removal of the DOS device definition
Signed-off-by: Wei Xie xiewei@uniontech.com
- - - - -
2 changed files:
- dlls/kernel32/tests/volume.c - dlls/kernelbase/volume.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/a260514353df3cb2c72d49232f728f...