all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 11442@debbugs.gnu.org, Paul Eggert <eggert@cs.ucla.edu>
Subject: bug#11442: dbus uses Emacs integer as pointer, possible core dump
Date: Wed, 09 May 2012 23:19:29 +0200	[thread overview]
Message-ID: <87mx5hqcgu.fsf@gmx.de> (raw)
In-Reply-To: <m2vck573zk.fsf@igel.home> (Andreas Schwab's message of "Wed, 09 May 2012 17:45:19 +0200")

Andreas Schwab <schwab@linux-m68k.org> writes:

>> In general, I agree with you. In the given case, it is just a pointer
>> address which has been written in Fdbus_init_bus. No other place is
>> expected to write such an address, but since it is a Lisp object,
>> somebody could do by mistake.
>
> Why is Vdbus_registered_buses exported to lisp?

Indeed, that's the question.

When I wrote the new code for private buses, it was needed in dbus.el
(don't remember the reason). In the final code I've committed,
dbus-registered-buses isn't needed anymore on Lisp level.

I've converted it to be an internal Lisp object. Paul, is this
sufficient from your pov, or do we need more checks?

> Andreas.

Best regards, Michael.





  reply	other threads:[~2012-05-09 21:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-09 15:20 bug#11442: dbus uses Emacs integer as pointer, possible core dump Paul Eggert
2012-05-09 15:35 ` Michael Albinus
2012-05-09 15:45   ` Andreas Schwab
2012-05-09 21:19     ` Michael Albinus [this message]
2012-05-09 21:35       ` Paul Eggert

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=87mx5hqcgu.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=11442@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=schwab@linux-m68k.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.