rem: sprintf(uidstring,"%d-%s",(int)getpid(),unamebuf.nodename);
add: snprintf(uidstring,sizeof(uidstring),"%d-%s",(int)getpid(),unamebuf.nodename);
context: void icaldirset_add_uid(icaldirset* store, icaldirset* comp){    char uidstring[ICAL_PATH_MAX];    icalproperty *uid;    struct utsname unamebuf;    icalerror_check_arg_rv( (store!=0), "store");    icalerror_check_arg_rv( (comp!=0), "comp");    uid = icalcomponent_get_first_property(comp,ICAL_UID_PROPERTY);        if (uid == 0) {		uname(&unamebuf);		sprintf(uidstring,"%d-%s",(int)getpid(),unamebuf.nodename);		uid = icalproperty_new_uid(uidstring);	icalcomponent_add_property(comp,uid);    } else {		strcpy(uidstring,icalproperty_get_uid(uid));    }}