Commit b5dc9762 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix possible stack overflow and non-null terminated string.

parent ffad9fe1
......@@ -1756,8 +1756,8 @@ static const char *months[]={"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Se
BELLESIP_EXPORT time_t belle_sip_header_date_get_time(belle_sip_header_date_t *obj){
struct tm ret ={0};
char tmp1[16] ={0};
char tmp2[16] ={0};
char tmp1[4] ={0};
char tmp2[17] ={0};
int i,j;
time_t seconds;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment