rem: static char r[11];
add: static char r[INT2STR_MAX_LEN];
context: static inline char* int2str(unsigned int l, int* len){	static char r[11]; /* 10 digits + 0 */	int i;		i=9;	r[10]=0; /* null terminate */	do{		r[i]=l%10+'0';		i--;		l/=10;	}while(l && (i>=0));	if (l && (i<0)){		LOG(L_CRIT, "BUG: int2str: overflow\n");	}	if (len) *len=9-i;	return &r[i+1];}