diff options
author | Erika Szelleova <szelleerika@gmail.com> | 2018-06-18 19:23:32 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-06-19 08:40:45 +0000 |
commit | 31c1cd95cfce27a12f364eb3de78efd2b0c6d1b8 (patch) | |
tree | 386539bf41ba873de1924232de5d7493cf82dbcf /wsutil/cfutils.c | |
parent | bf829007b4235be1b5144c40c8f7189064f4d44a (diff) |
DNS: changed maximum length of dns names from 1025 to 255
According to RFC1035 there are limitations on the maximum length of DNS
names. The maximum length in the code was defined as 1025, this commit
changes it to 255. Also a new macro is introduced which holds the
minimum length of a DNS name.
Bug: 14041
Change-Id: Ic63b332b2a357e33728df183c05ab0e222faf13f
Reviewed-on: https://code.wireshark.org/review/28309
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'wsutil/cfutils.c')
0 files changed, 0 insertions, 0 deletions