sync with OpenBSD -current
This commit is contained in:
parent
acb2a22980
commit
455fea1627
229 changed files with 25075 additions and 13981 deletions
|
@ -688,7 +688,7 @@ parse_omit_name(
|
|||
|
||||
length = strlen (pattern);
|
||||
|
||||
if (length > XLFD_MAX_LEN)
|
||||
if (length > XLFD_MAX_LEN - 1)
|
||||
return -1;
|
||||
|
||||
strcpy(buf, pattern);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue