Your message dated Wed, 29 Jul 2026 20:22:22 +0000
with message-id <[email protected]>
and subject line Bug#501435: fixed in glibc-doc-reference 2.43-1
has caused the Debian Bug report #501435,
regarding glibc-doc-reference: socket connection server example segfaults on 
64bits due to missing arpa/inet.h header
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
501435: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501435
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: glibc-doc-reference
Version: 2.7-1
Severity: normal


The example of socket server in the info file is buggy on 64 bits.

(File: libc.info, Node: Connections, Next: Datagrams, Prev: Open/Close
Sockets, Up: Sockets)

It is doing segfault on x86-64 (and probably on most 64 bits architecture)
due to the usage of inet_ntoa() without its header 
#include <arpa/inet.h>

It is segfaulting in the fprintf line 107 :

 fprintf (stderr,
                              "Server: connect from host %s, port %hd.\n",
                              inet_ntoa (clientname.sin_addr),
                              ntohs (clientname.sin_port));

The return value of inet_ntoa() is defaulted to int (4 bytes) instead
of the char* (8 bytes). Thus the %s of the fprintf access a wrong
memory address.



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: glibc-doc-reference
Source-Version: 2.43-1
Done: Aurelien Jarno <[email protected]>

We believe that the bug you reported is fixed in the latest version of
glibc-doc-reference, which is due to be installed in the Debian FTP archive.

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.
Aurelien Jarno <[email protected]> (supplier of updated glibc-doc-reference 
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: SHA512

Format: 1.8
Date: Wed, 29 Jul 2026 21:50:14 +0200
Source: glibc-doc-reference
Architecture: source
Version: 2.43-1
Distribution: unstable
Urgency: medium
Maintainer: GNU Libc Maintainers <[email protected]>
Changed-By: Aurelien Jarno <[email protected]>
Closes: 335171 501435
Changes:
 glibc-doc-reference (2.43-1) unstable; urgency=medium
 .
   * New upstream version.  Closes: #335171, #501435.
   * debian/watch: update to v5 and use git instead of ftp.
   * debian/copyright: rewrite in Machine-readable format.
   * debian/rules: remove get-orig-source target and related code, now that the
     orig tarball can be generated with uscan.
   * debian/control: improve package description.
   * debian/control: drop Priority field, now the default.
   * debian/control: bump Standards-Version to 4.7.4 (no changes).
   * debian/salsa-ci.yml: add.
Checksums-Sha1:
 395cc60d24e44a3093f15cbf447ae42f52b55fca 2102 glibc-doc-reference_2.43-1.dsc
 f8865e2cc9224332a0925a6b45c8badb193b4082 761376 
glibc-doc-reference_2.43.orig.tar.xz
 b19aaa469f5aa4ce548c77ed3bf9f2a2238f2612 6068 
glibc-doc-reference_2.43-1.debian.tar.xz
 53278896a0db835bd6a65d663e701705987be8a0 5369 
glibc-doc-reference_2.43-1_source.buildinfo
Checksums-Sha256:
 a664d227f56c0a7a4fc251774a9e981430f2cab03fd3227035822d6f208d763b 2102 
glibc-doc-reference_2.43-1.dsc
 cb38f0725a853bea427cdcc97f870c27a1daac1f5f6ed9cabbb54f6aeb1f316b 761376 
glibc-doc-reference_2.43.orig.tar.xz
 f2eb79851436d3f70ff015b22d74b1cfca23968b26285373fe77b480895b719c 6068 
glibc-doc-reference_2.43-1.debian.tar.xz
 f7a409f1402dc01b10dd67ebeb435af34a25563b6f9e789cba266eba75d02739 5369 
glibc-doc-reference_2.43-1_source.buildinfo
Files:
 e84efe9a345d389ee8104aabd8c53834 2102 non-free/doc optional 
glibc-doc-reference_2.43-1.dsc
 7a2720514399c842a3a4c39b1dde0d4d 761376 non-free/doc optional 
glibc-doc-reference_2.43.orig.tar.xz
 9835123765a2c7532ac7fa06cbc3cb63 6068 non-free/doc optional 
glibc-doc-reference_2.43-1.debian.tar.xz
 a4b78ba1812f5537b79926f3921ca4c4 5369 non-free/doc optional 
glibc-doc-reference_2.43-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmpqWnkACgkQE4jA+Jno
M2vErA/8CqriMyzmPpo24FTlM59mewUr4NtzQkwF1SvgP15b9TUBksL/uELIz2yZ
SY/wNiahMvxDNd+a6Hxqo19xwT6qpcEcQ04XPIL1/UR3flr6yQlZY367vnDKx/+C
+0sPbUihZYtZzn+RSOxwRV6xe21nOuvxyAExkLdrJrpmoU+W30pKl8fHDAJ4Gp3Y
tipC2hjhARpoGeuJpS0myfjCl2MIVyaKM3fOmjGXYvL0sbHL+DfmQHbaKvFFxa1h
1gWA3eN0Lp045+p96ZdCMuZZbF1XyEwIPHtOYfsn4HHCPgHPkfLX3WMZm3aKdvNB
IQckUe477bU9L0iaZ5yg8vMRf7fIqmK5WhvX44ZanbtkAxbmWlbtypWRC/2v7Xrr
sfCZDYn00y2GFoE5ejwjoly6vROnhST3udXFS/fGOTN9PvmKHXdgj+8quk4/wXNF
OQJKJKkvbkh8fD74FNk9Z05pc0KlFk7pMqFg/yMVZLyr/tte9F0eeG93f+v81pnz
2lvb7o1/QzbRx64BkWPzD45y+4ndXaJ4Yiua3NgIWAKxrGD8/FA5hylq71zTPh91
Jyc2SXbjUjD0VhNJIAuZdtAkoRC/9u6nJhZpgfDqrobOvIEz88iZz/gUTVc8F9u5
IO7t/K+/rJN2aKEx0d8nY/dWQMn1CZUgbCLtjnx2UvQ5+PDV7ZQ=
=k4jH
-----END PGP SIGNATURE-----

Attachment: pgpAoTYxnyk9f.pgp
Description: PGP signature


--- End Message ---

Reply via email to