diff options
Diffstat (limited to 'epan/tvbparse.c')
-rw-r--r-- | epan/tvbparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/tvbparse.c b/epan/tvbparse.c index 9b6053be5e..884fb08114 100644 --- a/epan/tvbparse.c +++ b/epan/tvbparse.c @@ -251,7 +251,7 @@ static int cond_not_char(tvbparse_t* tt, const int offset, const tvbparse_wanted if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_NOT_CHAR) g_warning("cond_not_char: control='%s'",wanted->control.str); #endif - if (! offset < tt->end_offset ) { + if ( offset >= tt->end_offset ) { return -1; } |