Bug 190620

Summary: [MAINTAINER UPDATE] update dns/wdns to version 0.6.0
Product: Ports & Packages Reporter: Don Lewis <truckman>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Some People CC: miwi
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 190601    
Attachments:
Description Flags
patch to update Makefile, distinfo, and pkg-plist none

Description Don Lewis freebsd_committer freebsd_triage 2014-06-04 17:59:12 UTC
Created attachment 143373 [details]
patch to update Makefile, distinfo, and pkg-plist

* wdns_reverse_name(): fix buffer overflow on invalid input. This function
    now returns a 'wdns_res' that callers must check. This changes the
    API/ABI.

  * wdns_res_to_str(): new function.

  * wdns_str_to_name(): prevent use-after-free in callers which don't check
    the return value.

  * wdns_len_uname(): enforce WDNS_MAXLEN_NAME limit on input data.

  * wdns_parse_message(): fix a leak-on-error.

  * Various fixes to several functions, detected by static analysis.

  * Drop "-Wl,--as-needed" from LDFLAGS.

  * Begin versioning the library's symbols. (Based on ld-version-script.m4
    from gnulib.)

Also, delete extraneous USE_PKGCONFIG= from port Makefile.
Comment 1 commit-hook freebsd_committer freebsd_triage 2014-06-05 00:49:45 UTC
A commit references this bug:

Author: miwi
Date: Thu Jun  5 00:49:15 UTC 2014
New revision: 356560
URL: http://svnweb.freebsd.org/changeset/ports/356560

Log:
  - Update to 0.6.0

  PR:		190620
  Submitted by:	maintainer

Changes:
  head/dns/wdns/Makefile
  head/dns/wdns/distinfo
  head/dns/wdns/pkg-plist