kopia lustrzana https://github.com/Hamlib/Hamlib
Change sprintf to snprint in rotctl_parse.c
https://github.com/Hamlib/Hamlib/issues/857pull/928/head
rodzic
d96d616ce5
commit
ed1210e974
|
@ -2342,7 +2342,7 @@ declare_proto_rot(inter_set_conf)
|
|||
return -RIG_EINVAL;
|
||||
}
|
||||
|
||||
sprintf(buf, "%s=%s", arg1, arg2);
|
||||
snprintf(buf, sizeof(buf), "%s=%s", arg1, arg2);
|
||||
return set_conf(rot, buf);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue