mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-09-03 12:05:47 +00:00
Both AcquireNextFrame paths cast the IDXGIResource to ID3D11Texture2D without looking at the HRESULT. ohgodwhat() then dereferences the null pointer in GetDesc(), and get_texture() hands a null texture to the vram encoder. Return the error instead. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011sw75MSAz7PTqrSALdStXe