mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 00:01:33 -08:00
(w32_font_match): Allocate three more bytes to regex
for '^', '$', and '\0'.
This commit is contained in:
parent
76581eab9b
commit
e7c7212283
1 changed files with 1 additions and 1 deletions
|
|
@ -6489,7 +6489,7 @@ w32_font_match (fontname, pattern)
|
|||
char * fontname;
|
||||
char * pattern;
|
||||
{
|
||||
char *regex = alloca (strlen (pattern) * 2);
|
||||
char *regex = alloca (strlen (pattern) * 2 + 3);
|
||||
char *font_name_copy = alloca (strlen (fontname) + 1);
|
||||
char *ptr;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue