rem: sprintf(temp,"%d",value);
add: snprintf(temp,sizeof(temp),"%d",value);
context: void append_duration_segment(char** buf, char** buf_ptr, size_t* buf_size, 			     char* sep, unsigned int value) {    char temp[TMP_BUF_SIZE];    sprintf(temp,"%d",value);    icalmemory_append_string(buf, buf_ptr, buf_size, temp);    icalmemory_append_string(buf, buf_ptr, buf_size, sep);    }