bug-coreutils
[Top][All Lists]
Advanced

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

Re: Dawrin- why does pinky SIGBUS


From: Paul Eggert
Subject: Re: Dawrin- why does pinky SIGBUS
Date: Tue, 26 Sep 2006 22:59:37 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

mwoehlke <address@hidden> writes:

> #0  0x90007260 in strlen ()
> #1  0x9000d1d8 in strdup ()
> #2  0x0000393c in canon_host_r (host=0xfffffffc <Address 0xfffffffc
> out of bounds>, cherror=0x8248) at canon-host.c:74

This suggest that this code in canon-host.c:

  hints.ai_flags = AI_CANONNAME;
  status = getaddrinfo (host, NULL, &hints, &res);
  if (!status)
    {
      retval = strdup (res->ai_canonname);

set status to 0, but res->ai_canonname was NULL.  Can you verify
that this in fact happened?

Are you using the system getaddrinfo, or the one shipped with
coreutils?

> Honestly I have never used pinky so I don't really care.

It's a sign of problems in the library, though.  It should
get fixed.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]