Package: libc6
Version: 2.3.6-15
Severity: minor

Hi,
        using getifaddrs i get the following valgrind warning :

==12949== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
==12949==    at 0xE633ACC: sendto (socket.S:106)
==12949==    by 0xE651F48: __netlink_sendreq (ifaddrs.c:112)
==12949==    by 0xE6521E4: __netlink_request (ifaddrs.c:131)
==12949==    by 0xE652AD8: getifaddrs (ifaddrs.c:390)

Indeed, ./glibc-2.3.6/sysdeps/unix/sysv/linux/ifaddrs.c:

 92  struct
 93   {
 94     struct nlmsghdr nlh;
 95     struct rtgenmsg g;
 96   } req;
 97   struct sockaddr_nl nladdr;
....
101
102   req.nlh.nlmsg_len = sizeof (req);
103   req.nlh.nlmsg_type = type;
104   req.nlh.nlmsg_flags = NLM_F_ROOT | NLM_F_MATCH | NLM_F_REQUEST;
105   req.nlh.nlmsg_pid = 0;
106   req.nlh.nlmsg_seq = h->seq;
107   req.g.rtgen_family = AF_UNSPEC;
....
112   return TEMP_FAILURE_RETRY (__sendto (h->fd, (void *) &req, sizeof (req), 
0,
113                                        (struct sockaddr *) &nladdr,
114                                        sizeof (nladdr)));

some members are not initialized.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8)

Versions of packages libc6 depends on:
ii  tzdata                        2006g-2    Time Zone and Daylight Saving Time

libc6 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to