Fix Savannah bug #30644.
* src/base/ftstream.c (FT_Stream_EnterFrame): Fix comparison.
This commit is contained in:
parent
32dc43a5cc
commit
45a3c76b54
@ -1,3 +1,9 @@
|
||||
2010-08-04 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Fix Savannah bug #30644.
|
||||
|
||||
* src/base/ftstream.c (FT_Stream_EnterFrame): Fix comparison.
|
||||
|
||||
2010-08-04 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
`make devel' fails if FT_CONFIG_OPTION_OLD_INTERNALS is set.
|
||||
|
@ -287,7 +287,7 @@
|
||||
{
|
||||
/* check current and new position */
|
||||
if ( stream->pos >= stream->size ||
|
||||
stream->pos + count > stream->size )
|
||||
stream->size - stream->pos < count )
|
||||
{
|
||||
FT_ERROR(( "FT_Stream_EnterFrame:"
|
||||
" invalid i/o; pos = 0x%lx, count = %lu, size = 0x%lx\n",
|
||||
|
Loading…
Reference in New Issue
Block a user