git: vendor/ldns: upgrade from 1.7.1 to 1.8.3

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Sun Nov 13 05:00:01 PST 2022


commit ee791feb8a4c6edd1625c1756e9b470fe9c09971
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Sat Nov 12 19:43:26 2022 +0100

    vendor/ldns: upgrade from 1.7.1 to 1.8.3
    
    Notable changes:
    
     * bugfix #50: heap Out-of-bound Read vulnerability in rr_frm_str_internal
       reported by pokerfacett.
     * bugfix #51: Heap Out-of-bound Read vulnerability in ldns_nsec3_salt_data
       reported by pokerfacett.
     * Fix memory leak in examples/ldns-testns handle_tcp routine.
     * Detect fixed time memory compare for openssl 0.9.8.
     * Fix -U flag with ldns-signzone. Thanks Ulrich and Jonathan
     * bugfix #166: Grow buffer when writing chars and fixed size
       strings when converting to presentation format, preventing
       potential assersion errors.
     * bugfix #183: Assertion failure with OPT record without rdata.
       This caused packet creation with only a DO bit (for DNSSEC OK)
       to crash. Thanks Anand Buddhdev and others for reporting this
       so quickly.
    
    For details see commit history or changelog on github:
    
    https://github.com/NLnetLabs/ldns/blob/release-1.8.3/Changelog

Summary of changes:
 contrib/ldns/buffer.c             |   2 +-
 contrib/ldns/dane.c               |  65 ++-
 contrib/ldns/dname.c              |   2 +-
 contrib/ldns/dnssec.c             |  14 +-
 contrib/ldns/dnssec_sign.c        | 220 ++++++---
 contrib/ldns/dnssec_verify.c      |  37 +-
 contrib/ldns/dnssec_zone.c        | 830 +++++++++++++++++++++++++++++++-
 contrib/ldns/drill/chasetrace.c   |   2 +-
 contrib/ldns/drill/dnssec.c       |  15 +-
 contrib/ldns/drill/drill.c        |  71 ++-
 contrib/ldns/drill/securetrace.c  |  12 +-
 contrib/ldns/duration.c           | 138 ++----
 contrib/ldns/edns.c               | 436 +++++++++++++++++
 contrib/ldns/error.c              |  29 +-
 contrib/ldns/host2str.c           | 983 +++++++++++++++++++++++++++++++++++---
 contrib/ldns/host2wire.c          |  41 +-
 contrib/ldns/keys.c               |  23 +-
 contrib/ldns/ldns/buffer.h        |  31 ++
 contrib/ldns/ldns/common.h        |  78 ---
 contrib/ldns/ldns/dane.h          |   2 +-
 contrib/ldns/ldns/dnssec.h        |   2 +-
 contrib/ldns/ldns/dnssec_sign.h   |  16 +-
 contrib/ldns/ldns/dnssec_verify.h |   2 +-
 contrib/ldns/ldns/dnssec_zone.h   |  14 +-
 contrib/ldns/ldns/edns.h          | 272 +++++++++++
 contrib/ldns/ldns/error.h         |  14 +-
 contrib/ldns/ldns/host2str.h      |  27 +-
 contrib/ldns/ldns/host2wire.h     |  15 +-
 contrib/ldns/ldns/keys.h          |  60 +--
 contrib/ldns/ldns/ldns.h          |   1 +
 contrib/ldns/ldns/net.h           | 254 ----------
 contrib/ldns/ldns/packet.h        |  37 +-
 contrib/ldns/ldns/parse.h         |  38 +-
 contrib/ldns/ldns/radix.h         |   4 +-
 contrib/ldns/ldns/rbtree.h        |   2 +-
 contrib/ldns/ldns/rdata.h         |  25 +-
 contrib/ldns/ldns/resolver.h      |   6 +-
 contrib/ldns/ldns/rr.h            |  10 +-
 contrib/ldns/ldns/rr_functions.h  |   4 +-
 contrib/ldns/ldns/sha1.h          |   9 +-
 contrib/ldns/ldns/sha2.h          |  27 +-
 contrib/ldns/ldns/str2host.h      |  86 ++--
 contrib/ldns/ldns/util.h          | 393 ---------------
 contrib/ldns/ldns/wire2host.h     |   8 +-
 contrib/ldns/ldns/zone.h          |   4 +-
 contrib/ldns/net.c                |   2 +-
 contrib/ldns/packet.c             |  96 +++-
 contrib/ldns/parse.c              |  99 +++-
 contrib/ldns/rbtree.c             |   2 +-
 contrib/ldns/rdata.c              |   5 +-
 contrib/ldns/resolver.c           |   2 +-
 contrib/ldns/rr.c                 | 138 +++---
 contrib/ldns/rr_functions.c       |   8 +-
 contrib/ldns/sha1.c               |   2 +-
 contrib/ldns/sha2.c               |  14 +-
 contrib/ldns/str2host.c           | 679 +++++++++++++++++++++++++-
 contrib/ldns/tsig.c               |  10 +-
 contrib/ldns/util.c               |  24 +-
 contrib/ldns/wire2host.c          |   2 +-
 contrib/ldns/zone.c               |  80 +++-
 60 files changed, 4184 insertions(+), 1340 deletions(-)
 create mode 100644 contrib/ldns/edns.c
 delete mode 100644 contrib/ldns/ldns/common.h
 create mode 100644 contrib/ldns/ldns/edns.h
 delete mode 100644 contrib/ldns/ldns/net.h
 delete mode 100644 contrib/ldns/ldns/util.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ee791feb8a4c6edd1625c1756e9b470fe9c09971


-- 
DragonFly BSD source repository


More information about the Commits mailing list