diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-03-07 21:18:08 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-03-07 21:18:08 +0000 |
commit | 070e6cfca7284ce10ac49a8090cf9962b6c2439c (patch) | |
tree | ba7cfc57e2a6f31b28206bdf9bfe50dcf21c73ec /epan/dissectors/packet-aim.c | |
parent | 833e048e0efe836517e51f25ab2a9b3dbfb90917 (diff) |
potential dereference of null pointer
coverity cid 39
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17512 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-aim.c')
-rw-r--r-- | epan/dissectors/packet-aim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-aim.c b/epan/dissectors/packet-aim.c index 353f0fc0d6..18407aa585 100644 --- a/epan/dissectors/packet-aim.c +++ b/epan/dissectors/packet-aim.c @@ -773,7 +773,7 @@ static void dissect_aim_snac(tvbuff_t *tvb, packet_info *pinfo, } if (check_col(pinfo->cinfo, COL_INFO)) { - if(subtype) { + if(subtype && family) { col_set_str(pinfo->cinfo, COL_INFO, family->name); col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", subtype->name); } else { |