View | Details | Raw Unified | Return to bug 49296
Collapse All | Expand All

(-)dirfile.c (+4 lines)
Lines 311-316 Link Here
311
		status = AllocError;
311
		status = AllocError;
312
		break;
312
		break;
313
	    case NAME:
313
	    case NAME:
314
		if (strlen(lexToken) >= sizeof(font_name)) {
315
		    status = BadFontPath;
316
		    break;
317
		}
314
		CopyISOLatin1Lowered(alias, alias, strlen(alias));
318
		CopyISOLatin1Lowered(alias, alias, strlen(alias));
315
		CopyISOLatin1Lowered(font_name, lexToken, strlen(lexToken));
319
		CopyISOLatin1Lowered(font_name, lexToken, strlen(lexToken));
316
		if (!FontFileAddFontAlias (dir, alias, font_name))
320
		if (!FontFileAddFontAlias (dir, alias, font_name))

Return to bug 49296