diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2020-04-25 11:03:30 +1200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2020-06-25 13:04:45 +0200 |
commit | 0c6bbd701926dfc16754fc5ea523d6f21d0ea740 (patch) | |
tree | 8c11aba0d6d37f75898886d38aab794b08758f03 | |
parent | b8788a04ebd6ca9c2f9f72e11049d770ff54afac (diff) | |
download | samba-0c6bbd701926dfc16754fc5ea523d6f21d0ea740.tar.gz |
CVE-2020-10745: ndr/dns_utils: correct a comment
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14378
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
-rw-r--r-- | librpc/ndr/ndr_dns_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/ndr/ndr_dns_utils.c b/librpc/ndr/ndr_dns_utils.c index 2d9b5f1bc1e..2ce300863bc 100644 --- a/librpc/ndr/ndr_dns_utils.c +++ b/librpc/ndr/ndr_dns_utils.c @@ -49,7 +49,7 @@ enum ndr_err_code ndr_push_dns_string_list(struct ndr_push *ndr, complen = strcspn(s, "."); - /* we need to make sure the length fits into 6 bytes */ + /* the length must fit into 6 bits (i.e. <= 63) */ if (complen > 0x3F) { return ndr_push_error(ndr, NDR_ERR_STRING, "component length %u[%08X] > " \ |