INN commit: branches/2.4/innfeed (endpoint.c)
INN Commit
Russ_Allbery at isc.org
Sun Apr 6 09:33:33 UTC 2008
Date: Sunday, April 6, 2008 @ 02:33:33
Author: iulius
Revision: 7738
Fix a problem with innfeed continuously segfaulting on
amd64 hardware (and possibly on lots of 64 bits platforms);
sig_atomic_t is indeed a long and not an integer there.
Patch from Ollivier Robert. Many thanks to him and also
to Kai Gallasch for having reported the problem and provided
the FreeBSD server to debug it.
Modified:
branches/2.4/innfeed/endpoint.c
------------+
endpoint.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: endpoint.c
===================================================================
--- endpoint.c 2008-04-06 09:30:21 UTC (rev 7737)
+++ endpoint.c 2008-04-06 09:33:33 UTC (rev 7738)
@@ -1644,7 +1644,7 @@
if (sigHandlers == NULL)
{
sigHandlers = xmalloc (sizeof(sigfn) * NSIG) ;
- sigFlags = xmalloc (sizeof(int) * NSIG) ;
+ sigFlags = xmalloc (sizeof(sig_atomic_t) * NSIG) ;
for (i = 0 ; i < NSIG ; i++)
{
sigHandlers [i] = NULL ;
More information about the inn-committers
mailing list