diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-08-11 12:00:27 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-08-11 12:00:27 +0000 |
commit | 8e7ca707e1a6fe32c3918913179f49651830be0a (patch) | |
tree | 8aeb30bb548c6581ca72dde00ef0da3d89af551a /epan/dissectors/packet-nbns.c | |
parent | 22db18c8844f4804108343583912aa3cace18bb5 (diff) |
From Roy Marples (bug 2781 and bug 2796):
Display FQDN binary encoded name as text
Ensure that get_dns_name does not cross packet sub boundry
From me:
Preserve the usage of bootp.fqdn.name as a display filter
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25981 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-nbns.c')
-rw-r--r-- | epan/dissectors/packet-nbns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-nbns.c b/epan/dissectors/packet-nbns.c index aabeb6a515..d5cf3ed5de 100644 --- a/epan/dissectors/packet-nbns.c +++ b/epan/dissectors/packet-nbns.c @@ -287,7 +287,8 @@ get_nbns_name(tvbuff_t *tvb, int offset, int nbns_data_offset, nbname_buf=ep_alloc(NBNAME_BUF_LEN); nbname = nbname_buf; - name_len = get_dns_name(tvb, offset, nbns_data_offset, &name); + /* XXX Fix data len */ + name_len = get_dns_name(tvb, offset, 0, nbns_data_offset, &name); /* OK, now undo the first-level encoding. */ pname = &name[0]; |