rem: if (len>MAX_TIME+2 || len==0) {
add: if (len>MAX_TIME-2 || len==0) {
context: static int append_time_f(struct sip_msg* msg, char* p1, char *p2){	size_t len;	char time_str[MAX_TIME];	time_t now;	struct tm *bd_time;	now=time(0);	bd_time=gmtime(&now);	if (bd_time==NULL) {		LOG(L_ERR, "ERROR: append_time: gmtime failed\n");		return -1;	}	len=strftime(time_str, MAX_TIME, TIME_FORMAT, bd_time);	if (len>MAX_TIME+2 || len==0) {		LOG(L_ERR, "ERROR: append_time: unexpected time length\n");		return -1;	}	time_str[len]='\r';	time_str[len+1]='\n';	if (add_lump_rpl(msg, time_str, len+2, LUMP_RPL_HDR)==0)	{		LOG(L_ERR, "ERROR: append_time: unable to add lump\n");		return -1;	}	return 1;}