Prevent buffer overflows when using streams
This commit is contained in:
parent
13a8b0e5ba
commit
ab7b1642bc
18 changed files with 600 additions and 388 deletions
|
|
@ -667,7 +667,7 @@ static void HandleReply(player_t *player, bool isconsole, int nodenum, int reply
|
|||
//
|
||||
//============================================================================
|
||||
|
||||
void P_ConversationCommand (int netcode, int pnum, uint8_t **stream)
|
||||
void P_ConversationCommand (int netcode, int pnum, TArrayView<uint8_t>& stream)
|
||||
{
|
||||
player_t *player = &players[pnum];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue