diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-08-04 13:34:50 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-08-04 13:34:50 +0000 |
commit | 8e314dbb8f2f2533d20cff9660f66772cdceb094 (patch) | |
tree | b4ceb34c8f0508c6a1eae8518cb163ab6d24bbcb /epan/uat.c | |
parent | 1ce4466261985a9039b5bb392081c7c2bad5e19e (diff) |
Ensure we don't index into a NULL pointer.
svn path=/trunk/; revision=33710
Diffstat (limited to 'epan/uat.c')
-rw-r--r-- | epan/uat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/uat.c b/epan/uat.c index e6d72a3247..a2081c1b39 100644 --- a/epan/uat.c +++ b/epan/uat.c @@ -404,6 +404,7 @@ gboolean uat_fld_chk_oid(void* u1 _U_, const char* strptr, unsigned len, const v if (strptr == NULL) { *err = "NULL pointer"; + return FALSE; } for(i = 0; i < len; i++) |