(RESOLVE_IPADDRESS): gethostbyaddr() uses a lot of stack space on some
versions of GNU libc, which can lead to nasty heap smashes (observed with 2.2.93). Don't define RESOLVE_IPADDRESS for now, until we readjust thread stack sizes.
This commit is contained in:
parent
f520cbf4d2
commit
32fac041b2
1 changed files with 5 additions and 0 deletions
|
@ -76,7 +76,12 @@ struct mob_acc_globals {
|
|||
};
|
||||
|
||||
#define ANNO_KEEP_DAYS 7 /* Keep announcements around for this many days */
|
||||
/* This uses a lot of thread stack with some versions of GNU libc,
|
||||
which can lead to nasty heap smashes (observed with 2.2.93).
|
||||
Disabled for now, until we readjust thread stack sizes. */
|
||||
#if 0
|
||||
#define RESOLVE_IPADDRESS /* resolve ip addresses into hostnames */
|
||||
#endif
|
||||
|
||||
typedef u_char natid; /* also change NSC_NATID in nsc.h */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue