mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[client,sdl] use bounds checking vector accessors
This commit is contained in:
@@ -1359,7 +1359,7 @@ int64_t SdlContext::monitorId(uint32_t index) const
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
return _monitorIds[index];
|
||||
return _monitorIds.at(index);
|
||||
}
|
||||
|
||||
void SdlContext::push(std::vector<SDL_Rect>&& rects)
|
||||
|
||||
Reference in New Issue
Block a user