diff options
author | marha <marha@users.sourceforge.net> | 2011-09-05 10:19:03 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-09-05 10:19:03 +0200 |
commit | 9441c8f47bb24faebc885bfc3c5e37f47a3ad984 (patch) | |
tree | 276b55ded8f63c6bc5041785785ba927f168e077 /libXfont/src/fontfile/decompress.c | |
parent | c7b24c70d1e2d558d512665ffa5479e64b36692d (diff) | |
parent | 6eaea4464631b5d8c1f44a46016163e351028afc (diff) | |
download | vcxsrv-9441c8f47bb24faebc885bfc3c5e37f47a3ad984.tar.gz vcxsrv-9441c8f47bb24faebc885bfc3c5e37f47a3ad984.tar.bz2 vcxsrv-9441c8f47bb24faebc885bfc3c5e37f47a3ad984.zip |
Merge remote-tracking branch 'origin/released'
Conflicts:
libXfont/configure.ac
libXfont/doc/fontlib.xml
libXfont/src/bitmap/bitscale.c
libXfont/src/fontfile/decompress.c
Diffstat (limited to 'libXfont/src/fontfile/decompress.c')
-rw-r--r-- | libXfont/src/fontfile/decompress.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libXfont/src/fontfile/decompress.c b/libXfont/src/fontfile/decompress.c index b2fe6c707..1d8fdc50e 100644 --- a/libXfont/src/fontfile/decompress.c +++ b/libXfont/src/fontfile/decompress.c @@ -259,6 +259,8 @@ BufCompressedFill (BufFilePtr f) */
while ( code >= 256 )
{
+ if (stackp - de_stack >= STACK_SIZE - 1)
+ return BUFFILEEOF;
*stackp++ = file->tab_suffix[code];
code = file->tab_prefix[code];
}
|