Blame SOURCES/rpcbind-1.2.6-double-free.patch

180312
diff -up rpcbind-1.2.6/src/rpcbind.c.orig rpcbind-1.2.6/src/rpcbind.c
180312
--- rpcbind-1.2.6/src/rpcbind.c.orig	2022-08-16 10:16:03.196903368 -0400
180312
+++ rpcbind-1.2.6/src/rpcbind.c	2022-08-16 10:16:38.595062481 -0400
180312
@@ -562,8 +562,10 @@ init_transport(struct netconfig *nconf)
180312
 				syslog(LOG_ERR, "cannot bind %s on %s: %m",
180312
 					(hosts[nhostsbak] == NULL) ? "*" :
180312
 					hosts[nhostsbak], nconf->nc_netid);
180312
-				if (res != NULL)
180312
+				if (res != NULL) {
180312
 					freeaddrinfo(res);
180312
+					res = NULL;
180312
+				}
180312
 				continue;
180312
 			} else
180312
 				checkbind++;