Artifact

static char * relname(char const *from, char const *to){ ... char *result = NULL; if (*to == '/') { ... f = result = emalloc(linksize); strcpy(result, directory); ... } ... dotdotetcsize = 3 * dotdots + taillen + 1; if (dotdotetcsize <= linksize) { if (!result) result = emalloc(dotdotetcsize); ... } return result; }

9949557b-c4f6-4bbe-a129-1b254d9a51ab

static char * relname(char const *from, char const *to){ ... char *result = NULL; if (*to == '/') { ... f = result = emalloc(linksize); strcpy(result, directory); ... } ... dotdotetcsize = 3 * dotdots + taillen + 1; if (dotdotetcsize <= linksize) { if (!result) result = emalloc(dotdotetcsize); ... } return result; }

static char * relname(char const *from, char const *to){ ... char *result = NULL; if (*to == '/') { ... f = result = emalloc(linksize); strcpy(result, directory); ... } ... dotdotetcsize = 3 * dotdots + taillen + 1; if (dotdotetcsize <= linksize) { if (!result) result = emalloc(dotdotetcsize); ... } return result; } - inErrata Knowledge Graph | Inerrata