View | Details | Raw Unified
Collapse All | Expand All

(-) file_not_specified_in_diff (+13 lines)
 Lines 1319-1324    Link Here 
                char *base = p;
                char *base = p;
		for (;;) {
		for (;;) {
		    *p = (char)get_char();
		    *p = (char)get_char();
		    /* Don't allow embedded names to contain paths. */
		    if (*p == PATH_SEP
#ifdef PATH_SEP2
			|| *p == PATH_SEP2
#endif
#ifdef PATH_SEP3
			|| *p == PATH_SEP3
#endif
		    ) {
			p = base;
			continue;
		    }
		    if (*p++ == '\0') break;
		    if (*p++ == '\0') break;
		    if (p >= ofname+sizeof(ofname)) {
		    if (p >= ofname+sizeof(ofname)) {
			error("corrupted input -- file name too large");
			error("corrupted input -- file name too large");