git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OpenSSL: track shutdown calls. Bug 2864
[exim.git]
/
src
/
src
/
os.c
diff --git
a/src/src/os.c
b/src/src/os.c
index 2bb5bbef121ffb8f97c12862578f58d35b19c0e6..1b826f3dc1c2164e5d8f8bb6349aaaabded1b346 100644
(file)
--- a/
src/src/os.c
+++ b/
src/src/os.c
@@
-511,7
+511,7
@@
for (struct ifaddrs * ifa = ifalist; ifa; ifa = ifa->ifa_next)
/* Create a data block for the address, fill in the data, and put it on the
chain. */
/* Create a data block for the address, fill in the data, and put it on the
chain. */
- next = store_get(sizeof(ip_address_item),
FALSE
);
+ next = store_get(sizeof(ip_address_item),
GET_UNTAINTED
);
next->next = NULL;
next->port = 0;
(void)host_ntoa(-1, ifa_addr, next->address, NULL);
next->next = NULL;
next->port = 0;
(void)host_ntoa(-1, ifa_addr, next->address, NULL);
@@
-746,7
+746,7
@@
for (char * cp = buf; cp < buf + ifc.V_ifc_len; cp += len)
/* Create a data block for the address, fill in the data, and put it on the
chain. */
/* Create a data block for the address, fill in the data, and put it on the
chain. */
- next = store_get(sizeof(ip_address_item),
FALSE
);
+ next = store_get(sizeof(ip_address_item),
GET_UNTAINTED
);
next->next = NULL;
next->port = 0;
(void)host_ntoa(-1, addrp, next->address, NULL);
next->next = NULL;
next->port = 0;
(void)host_ntoa(-1, addrp, next->address, NULL);
@@
-778,13
+778,13
@@
interfaces. We just return the loopback address(es). */
ip_address_item *
os_common_find_running_interfaces(void)
{
ip_address_item *
os_common_find_running_interfaces(void)
{
-ip_address_item *yield = store_get(sizeof(address_item),
FALSE
);
+ip_address_item *yield = store_get(sizeof(address_item),
GET_UNTAINTED
);
yield->address = US"127.0.0.1";
yield->port = 0;
yield->next = NULL;
#if HAVE_IPV6
yield->address = US"127.0.0.1";
yield->port = 0;
yield->next = NULL;
#if HAVE_IPV6
-yield->next = store_get(sizeof(address_item),
FALSE
);
+yield->next = store_get(sizeof(address_item),
GET_UNTAINTED
);
yield->next->address = US"::1";
yield->next->port = 0;
yield->next->next = NULL;
yield->next->address = US"::1";
yield->next->port = 0;
yield->next->next = NULL;