mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 06:11:46 +00:00
[client] main: fix heap-buffer-overflow on cursor update
This commit is contained in:
parent
db3d20f935
commit
3c9b9e6370
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ int main_cursorThread(void * unused)
|
|||
g_state.state = APP_STATE_SHUTDOWN;
|
||||
break;
|
||||
}
|
||||
cursorSize = msg.size;
|
||||
cursorSize = neededSize;
|
||||
}
|
||||
|
||||
memcpy(cursor, msg.mem, neededSize);
|
||||
|
|
Loading…
Reference in a new issue