NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-amd64/45243: yale-tftpd generate a coredump file when running on NetBSD-5.1 amd64 platform

>Number:         45243
>Category:       port-amd64
>Synopsis:       yale-tftpd generate a coredump file when running on NetBSD-5.1 
>amd64 platform
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 12 07:50:00 +0000 2011
>Originator:     Cedric DEVILLERS
>Release:        NetBSD 5.1 amd64
University Paris VII
NetBSD  5.1 NetBSD 5.1 (GENERIC) #0: Sat Nov  6 13:19:33 UTC 2010
The yale-tftpd daemon is running (with or without inetd) and when a request 
arrives, the child (fork) crash with coredump.
Running yale-tftpd daemon on NetBSD 5.1 amd64 platform (not tested on previous 
Perform a request to the tftpd server with a tftp client.
The request was terminated with timeout and on the server, there is a coredump 
file on tftpboot directory.
Recompiling this port with static flag seems to correct the problem but there 
are certainly a better solution.

--- Makefile    2011-08-12 07:15:15.000000000 +0000
+++        2011-08-12 07:14:02.000000000 +0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.18 2009/06/05 10:19:10 hasso Exp $
 DISTNAME=      yale-tftpd-3.0
@@ -19,6 +19,7 @@
 CFLAGS.Linux+=                 -DHAVE_STRERROR
 LDFLAGS.SunOS+=                        -lsocket -lnsl
+LDFLAGS.NetBSD+=               -static
 USE_LANGUAGES=                 c

Home | Main Index | Thread Index | Old Index