Patch required to allow compiling at Fedora with -Werror=format-security
Provided by Mamoru Tasaka
This commit is contained in:
parent
7fa5c7ad87
commit
61d23b99ff
|
|
@ -487,7 +487,7 @@ static struct bridge *find_bridge(Evt_Node_Info_t *event_node,
|
||||||
dot = strrchr(buff, '.');
|
dot = strrchr(buff, '.');
|
||||||
while (dot) {
|
while (dot) {
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
snprintf(dot + 1, sizeof buff - (size_t)(dot - buff), vcc_parm);
|
snprintf(dot + 1, sizeof buff - (size_t)(dot - buff), "%s", vcc_parm);
|
||||||
vcc = nupa_get_param(buff, &ok);
|
vcc = nupa_get_param(buff, &ok);
|
||||||
}
|
}
|
||||||
if (ok)
|
if (ok)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue