diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2014-11-02 12:17:58 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-11-02 13:33:56 +0000 |
commit | f19c70c952e40bb2ec15b2cfa1e1df90919d02a0 (patch) | |
tree | c24ea30f666261ec403f903e1a18816dfad86f25 /epan/dissectors/packet-dns.c | |
parent | c49c77508771441164b358626193a10492fecc89 (diff) |
DNS: fix Coverity CID 281285 and CID 1238867
Change-Id: Ia5747a5d0c8c63b7471de624c96e546c7bbfbf57
Reviewed-on: https://code.wireshark.org/review/5064
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-dns.c')
-rw-r--r-- | epan/dissectors/packet-dns.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dns.c b/epan/dissectors/packet-dns.c index 1b6ee29816..40bfa41466 100644 --- a/epan/dissectors/packet-dns.c +++ b/epan/dissectors/packet-dns.c @@ -1140,6 +1140,7 @@ expand_dns_name(tvbuff_t *tvb, int offset, int max_len, int dns_data_offset, case 0x80: THROW(ReportedBoundsError); + break; case 0xc0: /* Pointer. */ @@ -3145,6 +3146,7 @@ dissect_dns_answer(tvbuff_t *tvb, int offsetx, int dns_data_offset, proto_tree_add_item(rr_tree, hf_dns_openpgpkey, tvb, cur_offset, data_len, ENC_ASCII|ENC_NA); } + break; case T_SPF: /* Sender Policy Framework (99) */ { |