Commit 3e94db9
committed
Possible fix for strncpy overlap in SVC_RemoteCommand
SVC_RemoteCommand->Cmd_ExecuteString->Cmd_TokenizeString2 cmd_cmd stomped on the same memory.
Vanilla code even from vq3 used a 1k sized array but this is significantly less than the size of cmd_cmd array so use the size of the cmd_cmd array.1 parent 7f2544a commit 3e94db9
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1095 | 1095 | | |
1096 | 1096 | | |
1097 | 1097 | | |
1098 | | - | |
| 1098 | + | |
| 1099 | + | |
1099 | 1100 | | |
1100 | 1101 | | |
1101 | 1102 | | |
| |||
1135 | 1136 | | |
1136 | 1137 | | |
1137 | 1138 | | |
1138 | | - | |
| 1139 | + | |
| 1140 | + | |
1139 | 1141 | | |
1140 | 1142 | | |
1141 | 1143 | | |
| |||
0 commit comments