diff options
| author | comex <comexk@gmail.com> | 2020-11-22 15:48:23 -0500 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2020-11-24 12:59:41 -0500 |
| commit | 00f2c7fbb97a893fba164fa366de6373090c3796 (patch) | |
| tree | 3f4860a38b5935d305f4dd9d08924fc6e5705126 /src/video_core/command_classes/codecs/codec.cpp | |
| parent | 7781ef2038a68e1a69f7d094ce9c4f5159971473 (diff) | |
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/video_core/command_classes/codecs/codec.cpp')
0 files changed, 0 insertions, 0 deletions
