* src/gxvalid/gxvmort.c (gxv_mort_feature_validate): Fix wrong length check, Savannah patch #6682.
This commit is contained in:
parent
9d83d29028
commit
68e16e0105
|
@ -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.
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue