all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Henrik Enberg <henrik.enberg@telia.com>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Segfault when calling network-interface-info on OpenBSD
Date: Fri, 30 Dec 2005 14:17:56 +0100 (CET)	[thread overview]
Message-ID: <200512301317.jBUDHuWU006248@rocksteady.printf.se> (raw)
In-Reply-To: <je7j9mzw1r.fsf@sykes.suse.de> (message from Andreas Schwab on Fri, 30 Dec 2005 12:03:28 +0100)

> > #0  0x08156c8e in intern (str=0xfff7f08e <Address 0xfff7f08e out of bounds>) at lread.c:3141
> > #1  0x0816cb10 in Fnetwork_interface_info (ifname=139458061) at process.c:3565
> 
> The problem is that network-interface-info didn't correctly terminate the
> loop over the interface flags table.  I've checked in a fix for that.
> OpenBSD apparently has some additional flags that are not listed in
> ifflag_table.

Your change does indeed fix it for me, no more segfault, and it returns
the correct data.  Thank you.

  reply	other threads:[~2005-12-30 13:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200512292201.jBTM1rFC026969@rocksteady.printf.se>
2005-12-30  4:57 ` Segfault when calling network-interface-info on OpenBSD Richard M. Stallman
2005-12-30 11:03   ` Andreas Schwab
2005-12-30 13:17     ` Henrik Enberg [this message]
2005-12-30 22:11     ` Richard M. Stallman
2006-01-01 22:37     ` Kim F. Storm
2006-01-02 16:33       ` Henrik Enberg
2006-01-16  9:05         ` YAMAMOTO Mitsuharu

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

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

  git send-email \
    --in-reply-to=200512301317.jBUDHuWU006248@rocksteady.printf.se \
    --to=henrik.enberg@telia.com \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.