Your message dated Fri, 24 Aug 2007 22:02:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#411456: fixed in atftp 0.7.dfsg-3
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: atftpd
Version: 0.7.dfsg-1.1
The atftpd deamon does not check the return value of the select on the
inet socket. If for some reason the select fails (interupted system call),
the rfds-bit array is used while the select(3) man page explicitely states
that this set is invalid. This occasionally leads to a flood of processes
spawned, all hanging in a select themselves since there is nothing to read.
A patch to solve this issue is atteched.
Leo.
--- tftpd.c.orig 2007-02-13 07:58:48.000000000 +0100
+++ tftpd.c 2007-02-13 08:01:31.000000000 +0100
@@ -390,10 +390,18 @@
packets */
if (!tftpd_cancel)
{
+ int rv;
+
if ((tftpd_timeout == 0) || (tftpd_daemon))
- select(FD_SETSIZE, &rfds, NULL, NULL, NULL);
+ rv = select(FD_SETSIZE, &rfds, NULL, NULL, NULL);
else
- select(FD_SETSIZE, &rfds, NULL, NULL, &tv);
+ rv = select(FD_SETSIZE, &rfds, NULL, NULL, &tv);
+ if (rv < 0) {
+ logger(LOG_ERR, "%s: %d: select: %s",
+ __FILE__, __LINE__, strerror(errno));
+ /* Clear the bits, they are undefined! */
+ FD_ZERO(&rfds);
+ }
}
#ifdef RATE_CONTROL
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: atftp
Source-Version: 0.7.dfsg-3
We believe that the bug you reported is fixed in the latest version of
atftp, which is due to be installed in the Debian FTP archive:
atftp_0.7.dfsg-3.diff.gz
to pool/main/a/atftp/atftp_0.7.dfsg-3.diff.gz
atftp_0.7.dfsg-3.dsc
to pool/main/a/atftp/atftp_0.7.dfsg-3.dsc
atftp_0.7.dfsg-3_i386.deb
to pool/main/a/atftp/atftp_0.7.dfsg-3_i386.deb
atftpd_0.7.dfsg-3_i386.deb
to pool/main/a/atftp/atftpd_0.7.dfsg-3_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ludovic Drolez <[EMAIL PROTECTED]> (supplier of updated atftp package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Mon, 6 Aug 2007 20:52:06 +0200
Source: atftp
Binary: atftpd atftp
Architecture: source i386
Version: 0.7.dfsg-3
Distribution: unstable
Urgency: high
Maintainer: Ludovic Drolez <[EMAIL PROTECTED]>
Changed-By: Ludovic Drolez <[EMAIL PROTECTED]>
Description:
atftp - advanced TFTP client
atftpd - advanced TFTP server
Closes: 411456 436310
Changes:
atftp (0.7.dfsg-3) unstable; urgency=high
.
* Removed the inetd dependency.
* Added Leo Weppelman select patch. Closes: #411456
* Fixed the FTBFS. Closes: #436310
Files:
16e2e829adaa6fc15fb6bf2db0caeb51 632 net extra atftp_0.7.dfsg-3.dsc
fa5ea0d162c41c197af48d717df1389f 33032 net extra atftp_0.7.dfsg-3.diff.gz
e71cb7d18672eb480ec0914f295ca288 28108 net extra atftp_0.7.dfsg-3_i386.deb
9ed163abad68e055f618ed981ceaf8eb 57674 net extra atftpd_0.7.dfsg-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGz1F0sRlQAP1GppgRAuLkAJ9W1+4TddA53PGRttrS4W10QPKZ4QCfQFmW
IAkujz/rjlrQikygWuHm68Y=
=NP3/
-----END PGP SIGNATURE-----
--- End Message ---