mirror of
https://github.com/halpz/re3.git
synced 2025-07-20 10:09:46 +00:00
overflow fix
This commit is contained in:
@ -2488,7 +2488,7 @@ int8 CRunningScript::ProcessOneCommand()
|
||||
if (commands[command].position == -1)
|
||||
strcat(commandInfo, commands[command].name + sizeof("COMMAND_") - 1);
|
||||
for (int i = 0; commands[command].input[i] != ARGTYPE_NONE; i++) {
|
||||
char tmp[16];
|
||||
char tmp[32];
|
||||
bool var = false;
|
||||
int value;
|
||||
switch (commands[command].input[i]) {
|
||||
@ -2552,7 +2552,7 @@ int8 CRunningScript::ProcessOneCommand()
|
||||
m_nIp = ip;
|
||||
ip = t;
|
||||
for (int i = 0; commands[command].output[i] != ARGTYPE_NONE; i++) {
|
||||
char tmp[16];
|
||||
char tmp[32];
|
||||
switch (commands[command].output[i]) {
|
||||
case ARGTYPE_INT:
|
||||
case ARGTYPE_PED_HANDLE:
|
||||
|
2
vendor/librw
vendored
2
vendor/librw
vendored
Submodule vendor/librw updated: 4e8396af26...e68ef1374d
2
vendor/ogg
vendored
2
vendor/ogg
vendored
Submodule vendor/ogg updated: 684c73773e...36f969bb37
2
vendor/opus
vendored
2
vendor/opus
vendored
Submodule vendor/opus updated: 6bae366f9f...034c1b61a2
2
vendor/opusfile
vendored
2
vendor/opusfile
vendored
Submodule vendor/opusfile updated: 6452e838e6...4174c26e0a
Reference in New Issue
Block a user