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
Dump stack for "bad memory reference". Bug 2904
[exim.git]
/
src
/
OS
/
unsupported
/
os.c-IRIX65
diff --git
a/src/OS/unsupported/os.c-IRIX65
b/src/OS/unsupported/os.c-IRIX65
index 1f6b0e1b10c4f7239542239629b27bdcbfd6aa7c..19172389b82ccf6fcdfdabe5755f13b5c5eca8c8 100644
(file)
--- a/
src/OS/unsupported/os.c-IRIX65
+++ b/
src/OS/unsupported/os.c-IRIX65
@@
-2,6
+2,7
@@
* Exim - an Internet mail transport agent *
*************************************************/
* Exim - an Internet mail transport agent *
*************************************************/
+/* Copyright (c) The Exim Maintainers 2022 */
/* Copyright (c) University of Cambridge 2001 */
/* See the file NOTICE for conditions of use and distribution. */
/* Copyright (c) University of Cambridge 2001 */
/* See the file NOTICE for conditions of use and distribution. */
@@
-59,7
+60,7
@@
if (sysctl(mib, 6, NULL, &needed, NULL, 0) < 0)
log_write(0, LOG_PANIC_DIE, "iflist-sysctl-estimate failed: %s",
strerror(errno));
log_write(0, LOG_PANIC_DIE, "iflist-sysctl-estimate failed: %s",
strerror(errno));
-buf = store_get(needed);
+buf = store_get(needed
, GET_UNTAINTED
);
if (sysctl(mib, 6, buf, &needed, NULL, 0) < 0)
log_write(0, LOG_PANIC_DIE, "sysctl of ifnet list failed: %s",
if (sysctl(mib, 6, buf, &needed, NULL, 0) < 0)
log_write(0, LOG_PANIC_DIE, "sysctl of ifnet list failed: %s",