Bug 190620 - [MAINTAINER UPDATE] update dns/wdns to version 0.6.0
Summary: [MAINTAINER UPDATE] update dns/wdns to version 0.6.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Blocks: 190601
  Show dependency treegraph
Reported: 2014-06-04 17:59 UTC by Don Lewis
Modified: 2014-06-05 00:49 UTC (History)
1 user (show)

See Also:

patch to update Makefile, distinfo, and pkg-plist (1.36 KB, patch)
2014-06-04 17:59 UTC, Don Lewis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Don Lewis freebsd_committer 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

  * 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 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

  - Update to 0.6.0

  PR:		190620
  Submitted by:	maintainer