ports/dns/fastresolve/files/patch-dns-terror_BoolString.h
Kurt Jaeger 536a7e97be dns/fastresolve: fix segfault
PR:		207589, 207628
Submitted by:	Miroslav Lachman <000.fbsd@quip.cz>, Dan Lukes <dan@obluda.cz>, Chris Hutchinsin <portmaster@bsdforge.com> (maintainer)
2016-03-02 07:58:13 +00:00

10 lines
323 B
C

--- dns-terror/BoolString.h.orig 2003-05-17 17:58:52 UTC
+++ dns-terror/BoolString.h
@@ -56,6 +56,7 @@ public:
BoolString &operator=(const BoolString &other) {
str = other.str;
flag = other.flag;
+ return *this;
}
int operator<(const BoolString &other) const {
return strcmp(str, other.str) < 0;