diff options
Diffstat (limited to '')
-rw-r--r-- | x11-servers/XFree86-4-Server/files/patch-dirfile.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-servers/XFree86-4-Server/files/patch-dirfile.c b/x11-servers/XFree86-4-Server/files/patch-dirfile.c new file mode 100644 index 000000000000..b0891cdd6ea8 --- /dev/null +++ b/x11-servers/XFree86-4-Server/files/patch-dirfile.c @@ -0,0 +1,13 @@ +--- lib/font/fontfile/dirfile.c.orig Fri May 31 20:45:50 2002 ++++ lib/font/fontfile/dirfile.c Thu Feb 5 00:19:57 2004 +@@ -286,6 +286,10 @@ + status = AllocError; + break; + case NAME: ++ if (strlen(lexToken) >= sizeof(alias)) { ++ status = BadFontPath; ++ break; ++ } + strcpy(alias, lexToken); + token = lexAlias(file, &lexToken); + switch (token) { |