Fix a bug which causes innfeed to segfault on 64-bit architectures.
Submitted by: Kai Gallasch <gallasch@free.de> Debugged by: Julien ÉLIE <julien@trigofacile.com> Patched by: roberto
This commit is contained in:
parent
21a48d3022
commit
b5688d6793
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200137
2 changed files with 12 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME?= inn
|
||||
PORTVERSION?= 2.4.3
|
||||
PORTREVISION?= 2
|
||||
PORTREVISION?= 3
|
||||
CATEGORIES= news ipv6
|
||||
MASTER_SITES?= ${MASTER_SITE_ISC}
|
||||
MASTER_SITE_SUBDIR?= ${PORTNAME}
|
||||
|
|
11
news/inn/files/patch-innfeed_endpoint.c
Normal file
11
news/inn/files/patch-innfeed_endpoint.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- innfeed/endpoint.c.orig Mon Mar 20 04:14:57 2006
|
||||
+++ innfeed/endpoint.c Wed Sep 26 20:02:26 2007
|
||||
@@ -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 ;
|
Loading…
Reference in a new issue