]> git.ipfire.org Git - thirdparty/samba.git/commit
CVE-2020-10745: ndr_dns: move ndr_push_dns_string core into sharable function
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Fri, 24 Apr 2020 23:02:08 +0000 (11:02 +1200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 30 Jun 2020 10:52:13 +0000 (12:52 +0200)
commit37cacb8f41b9b2ea19a9c1bbfade4ea250dced46
tree8b77870b603c96c42ff6c593657cb21ed14372e0
parentddeabf87957ce73e12030977948418c93436a05c
CVE-2020-10745: ndr_dns: move ndr_push_dns_string core into sharable function

This is because ndr_nbt.c does almost exactly the same thing with
almost exactly the same code, and they both do it wrong. Soon they
will both be using the better version that this will become. Though in
this patch we just move the code, not fix it.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14378

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
librpc/ndr/ndr_dns.c
librpc/ndr/ndr_dns_utils.c [new file with mode: 0644]
librpc/ndr/ndr_dns_utils.h [new file with mode: 0644]
librpc/wscript_build