diff options
| author | 2020-11-22 15:48:23 -0500 | |
|---|---|---|
| committer | 2020-11-24 12:59:41 -0500 | |
| commit | e8b2fd21d861997e558180d775b14afdc46f3bbd (patch) | |
| tree | 3f4860a38b5935d305f4dd9d08924fc6e5705126 /src/input_common/analog_from_button.cpp | |
| parent | Merge pull request #4451 from slashiee/extended-logging (diff) | |
| download | yuzu-e8b2fd21d861997e558180d775b14afdc46f3bbd.tar.gz yuzu-e8b2fd21d861997e558180d775b14afdc46f3bbd.tar.xz yuzu-e8b2fd21d861997e558180d775b14afdc46f3bbd.zip | |
nvdrv, video_core: Don't index out of bounds when given invalid syncpoint ID
- Use .at() instead of raw indexing when dealing with untrusted indices.
- For the special case of WaitFence with syncpoint id UINT32_MAX,
instead of crashing, log an error and ignore. This is what I get when
running Super Mario Maker 2.
Diffstat (limited to 'src/input_common/analog_from_button.cpp')
0 files changed, 0 insertions, 0 deletions