From c5f6b4e31a2779793fff5313a6d8f96033d39a79 Mon Sep 17 00:00:00 2001 From: Kaian Date: Wed, 11 Apr 2018 15:32:16 +0200 Subject: [PATCH] cf: fix buffer overflow with long response-text #240 --- src/curses/ui_call_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/curses/ui_call_flow.c b/src/curses/ui_call_flow.c index 33549e1..dfce318 100644 --- a/src/curses/ui_call_flow.c +++ b/src/curses/ui_call_flow.c @@ -415,7 +415,7 @@ call_flow_draw_message(ui_t *ui, call_flow_arrow_t *arrow, int cline) WINDOW *flow_win; sdp_media_t *media; const char *callid; - char msg_method[128]; + char msg_method[SIP_ATTR_MAXLEN]; char msg_time[80]; address_t src; address_t dst;