diff options
| author | Roberto0953 <131179700+Roberto0953@users.noreply.github.com> | 2026-11-22 20:55:54 +0100 |
|---|---|---|
| committer | Roberto0953 <131179700+Roberto0953@users.noreply.github.com> | 2026-11-22 21:01:12 +0100 |
| commit | 2428954112549a24fcc2b93206a30620184b044d (patch) | |
| tree | f4da46bec322d6ed19261d4ec49674f2fdc9addd /runtime/src/main.cpp | |
| parent | f847748cc76bd3777f9c070c4034eb2fc1c04e64 (diff) | |
xgameruntime: refuse XThreadingImpl slot 8 (XAsyncBeginAlloc) instead of answering S_OK
Slot 8 is the private XAsyncBeginAlloc: no public page, never called by the package's DLLs, signature not measured.
The generic private slot answered 0, so a caller got S_OK for an async call whose provider never received
XAsyncOp::Begin and whose completion never arrives. It now returns E_NOTIMPL and logs once.
Test: xgameruntime_test calls slot 8 with a provider that counts XAsyncOp::Begin and requires either a failure or one
Begin. Fails on ec8ec4c9 (S_OK, 0 Begin), passes with the change; the mutant answering S_OK is caught.
AI-assisted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions