unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stuart D. Herring" <herring@lanl.gov>
Subject: Re: Problem report #15
Date: Tue, 11 Apr 2006 10:44:02 -0700 (PDT)	[thread overview]
Message-ID: <39862.128.165.123.132.1144777442.squirrel@webmail.lanl.gov> (raw)
In-Reply-To: <200604111548.k3BFmH6g015084@scanner2.ics.uci.edu>

> 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	other threads:[~2006-04-11 17:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-11 15:48 Problem report #15 Dan Nicolaescu
2006-04-11 17:44 ` Stuart D. Herring [this message]
2006-04-12 17:10   ` Richard Stallman
2006-04-12 17:36     ` Stuart D. Herring
2006-04-13  3:20       ` Richard Stallman
2006-04-13 15:28         ` Stuart D. Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39862.128.165.123.132.1144777442.squirrel@webmail.lanl.gov \
    --to=herring@lanl.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).