Created attachment 160159 [details] Fix infinite recursion in net-mgmt/tcptrack During the exp-run in bug 201377, it was found that net-mgmt/tcptrack gives errors with a recent clang 3.7.0 snapshot: http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/tcptrack-1.4.2_2.log This is because the program has a function with infinite recursion. The attached patch fixes this.
I use this utility fairly frequently. So I was eager to incorporate your patch, when I saw you had discovered the recursive loop. I also decided to adopt it :-) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202658 --Chris
Committed, thanks!
A commit references this bug: Author: delphij Date: Wed Aug 26 00:30:37 UTC 2015 New revision: 395328 URL: https://svnweb.freebsd.org/changeset/ports/395328 Log: - Add more MASTERSITE; - Fix a bug revealed by clang 3.7 [1] - Give maintainership to submitter [2]; PR: ports/202535 [1], ports/202658 [2] Submitted by: dim [1], Chris Hutchinson [2] Changes: head/net-mgmt/tcptrack/Makefile head/net-mgmt/tcptrack/files/patch-IPAddress.h head/net-mgmt/tcptrack/pkg-descr