diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-02-22 13:41:25 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-02-22 13:41:25 +0000 |
commit | 3ebc2a4d004da00b764d390bc15299edb2de9217 (patch) | |
tree | 3c588de0bfdd29eb7d29ba93b3f0acb83fee784e | |
parent | a50f232cac6302d286c16cb16b7f11435e5440c0 (diff) |
Check for existing cinfo in have_custom_cols().
This fixes the latest buildbot fuzz failures.
svn path=/trunk/; revision=24421
-rw-r--r-- | epan/column-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/column-utils.c b/epan/column-utils.c index 06df303888..a472206652 100644 --- a/epan/column-utils.c +++ b/epan/column-utils.c @@ -319,7 +319,7 @@ have_custom_cols(column_info *cinfo) { /* The same as check_col(), but without the check to see if the column * is writable. */ - if (cinfo->col_first[COL_CUSTOM] >= 0) + if (cinfo && cinfo->col_first[COL_CUSTOM] >= 0) return TRUE; else return FALSE; |