Merge pull request #395 from signalwire/nua_stack

[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 20:13:43 +04:00
committed by GitHub
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;