TIMIDITY: Don't use unsafe strcat and strcpy
This commit is contained in:
parent
7c657796f4
commit
a3cc6b5218
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ char *MidiDriver_TIMIDITY::timidity_ctl_command(const char *fmt, ...) {
|
|||
while (1) {
|
||||
/* read reply */
|
||||
if (fdgets(buff, sizeof(buff)) <= 0) {
|
||||
strcpy(buff, "Read error\n");
|
||||
Common::strcpy_s(buff, "Read error\n");
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue