aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/include/closestr.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-01-16 17:19:02 +0000
committermarha <marha@users.sourceforge.net>2011-01-16 17:19:02 +0000
commit1eaf4b3f1d746b054298358d81233364bb1b7ba2 (patch)
treef5bc0b781f9a6eee0aaa29ae29f962f741e0d310 /xorg-server/include/closestr.h
parent5d0def58c0a3124e70076584cadc7c761e1f9e57 (diff)
downloadvcxsrv-1eaf4b3f1d746b054298358d81233364bb1b7ba2.tar.gz
vcxsrv-1eaf4b3f1d746b054298358d81233364bb1b7ba2.tar.bz2
vcxsrv-1eaf4b3f1d746b054298358d81233364bb1b7ba2.zip
Prevent crash with remote font servers
Diffstat (limited to 'xorg-server/include/closestr.h')
-rw-r--r--xorg-server/include/closestr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xorg-server/include/closestr.h b/xorg-server/include/closestr.h
index d29ee4d91..5cd52198f 100644
--- a/xorg-server/include/closestr.h
+++ b/xorg-server/include/closestr.h
@@ -53,6 +53,7 @@ typedef struct _OFclosure {
XID fontid;
char *fontname;
int fnamelen;
+ Bool from_dispatch;
FontPtr non_cachable_font;
} OFclosureRec;
@@ -78,6 +79,7 @@ typedef struct _LFWIclosure {
LFWIstateRec saved;
int savedNumFonts;
Bool haveSaved;
+ Bool from_dispatch;
char *savedName;
} LFWIclosureRec;
@@ -91,6 +93,7 @@ typedef struct _LFclosure {
LFWIstateRec current;
LFWIstateRec saved;
Bool haveSaved;
+ Bool from_dispatch;
char *savedName;
int savedNameLen;
} LFclosureRec;
@@ -109,6 +112,7 @@ typedef struct _PTclosure {
CARD8 reqType;
XID did;
int err;
+ Bool from_dispatch;
} PTclosureRec;
/* ImageText */
@@ -123,5 +127,6 @@ typedef struct _ITclosure {
int yorg;
CARD8 reqType;
XID did;
+ Bool from_dispatch;
} ITclosureRec;
#endif /* CLOSESTR_H */