[sofia-sip] Fix Out-of-bound array access warning: String copy function overflows destination buffer in nua_stack_event()

This commit is contained in:
Andrey Volk 2020-02-20 15:23:47 +04:00
parent 7b708c2c77
commit d438e1e547
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
Thu Feb 20 10:09:05 UTC 2020
Thu Feb 20 11:10:22 UTC 2020

View File

@ -313,7 +313,7 @@ int nua_stack_event(nua_t *nua, nua_handle_t *nh, msg_t *msg,
assert(t == t_end); assert(b == end); (void)end;
}
else
p = e + 1;
p = ee + 1;
ee->ee_nua = nua_stack_ref(nua);
e->e_event = event;