* src/gxvalid/gxvmort.c (gxv_mort_feature_validate): Fix wrong length check, Savannah patch #6682.

This commit is contained in:
Suzuki, Toshiya (鈴木俊哉) 2009-01-09 08:01:15 +00:00
parent 9d83d29028
commit 68e16e0105
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-01-09 Daniel Zimmermann <netzimme@aol.com>
* src/gxvalid/gxvmort.c (gxv_mort_feature_validate): Fix wrong
length check. From Savannah patch #6682.
2009-01-09 Werner Lemberg <wl@gnu.org>
Fix problem with T1_FIELD_{NUM,FIXED}_TABLE2.

View File

@ -42,7 +42,7 @@
gxv_mort_feature_validate( GXV_mort_feature f,
GXV_Validator valid )
{
if ( f->featureType > gxv_feat_registry_length )
if ( f->featureType >= gxv_feat_registry_length )
{
GXV_TRACE(( "featureType %d is out of registered range, "
"setting %d is unchecked\n",