Commit 3985aa5
committed
Kernel: Return STATUS_NOT_IMPLEMENTED from NtReadFileScatter/NtWriteFileGather
These stubs previously returned STATUS_SUCCESS without performing any
I/O, silently corrupting buffers for games using scatter/gather file
operations. Returning STATUS_NOT_IMPLEMENTED forces games to hit their
error/fallback paths rather than proceeding with uninitialized data.1 parent 2216559 commit 3985aa5
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2133 | 2133 | | |
2134 | 2134 | | |
2135 | 2135 | | |
2136 | | - | |
| 2136 | + | |
2137 | 2137 | | |
2138 | 2138 | | |
2139 | 2139 | | |
| |||
3088 | 3088 | | |
3089 | 3089 | | |
3090 | 3090 | | |
3091 | | - | |
| 3091 | + | |
3092 | 3092 | | |
3093 | 3093 | | |
3094 | 3094 | | |
| |||
0 commit comments