emacs-devel
[Top][All Lists]
Advanced

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

Re: Problem report #15


From: Stuart D. Herring
Subject: Re: Problem report #15
Date: Tue, 11 Apr 2006 10:44:02 -0700 (PDT)
User-agent: SquirrelMail/1.4.3a-11.EL3

> 2344        if (family == AF_INET)
> 2345          {
> [...]
> 2351          }
> 2352  #ifdef AF_INET6
>
> At conditional (4): "family == 10" taking false path
>
> 2353        else if (family == AF_INET6)
> 2354          {
> [...]
> 2367          }
> 2368  #endif
> 2369      }

Shouldn't there be some sort of else signal bad-family-choice?  It looks
like get_lisp_to_sockaddr_size can store anything into family...

> At conditional (5): "i < len" taking true path
>
> 2389    for (i = 0; i < len; i++)
>
> At conditional (6): "(p)->contents[i] & 7 == 0" taking true path
>
> 2390      if (INTEGERP (p->contents[i]))
>
> Event dereference: Incrementing possibly NULL value "cp"
> Also see events: [assign_zero]
>
> 2391        *cp++ = XFASTINT (p->contents[i]) & 0xff;

For that matter, shouldn't there be some sort of signal when there are
things that aren't integers present?  I really don't expect

[save-buffers-kill-emacs 64 #<subr symbol-function> 241]

to silently become 64.241.?.?.  I think this is, perhaps, two bugs.

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.




reply via email to

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