mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2025-12-20 17:30:10 +01:00
X.Org Bug #21117: crash in get_rotate_fontname (omGeneric.c)
http://bugs.freedesktop.org/show_bug.cgi?id=21117 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
This commit is contained in:
parent
5c1cde105d
commit
2bef065b70
1 changed files with 2 additions and 0 deletions
|
|
@ -571,6 +571,8 @@ get_rotate_fontname(
|
|||
|
||||
if((ptr = strchr(ptr, '-'))) {
|
||||
*ptr = '\0';
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue