mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 01:38:18 +08:00
overflow fix
This commit is contained in:
1 parent
db84afd263
commit
63a27fbc5f
5 files changed
+6
-6
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user