From: David Hansen <david.hansen@gmx.net>
To: emacs-devel@gnu.org
Subject: Re: dbusbind.c patch, fixes possible segfault
Date: Sun, 13 Apr 2008 18:58:32 +0200 [thread overview]
Message-ID: <87zlrxk7yf.fsf@localhorst.mine.nu> (raw)
In-Reply-To: 871w59d7tq.fsf@gmx.de
On Sun, 13 Apr 2008 18:43:13 +0200 Michael Albinus wrote:
> David Hansen <david.hansen@gmx.net> writes:
>
>> This one is similar to the previous dbusbind.c patch. No need to copy
>> the string and if dbus_bus_get_unique_name () returns NULL strcpy will
>> segfault.
>
> Looks OK, I've committed it. Thanks a lot!
>
> Btw, I'm a little bit curious how you've managed it NOT to have a unique
> name?
I haven't. I try to make myself familiar with the low level dbus api
and the emacs code is a nice reading.
David
next prev parent reply other threads:[~2008-04-13 16:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-13 14:28 dbusbind.c patch, fixes possible segfault David Hansen
2008-04-13 16:43 ` Michael Albinus
2008-04-13 16:58 ` David Hansen [this message]
2008-04-14 4:04 ` David Hansen
2008-04-14 17:36 ` Eli Zaretskii
2008-04-14 18:47 ` Michael Albinus
2008-04-14 18:59 ` David Hansen
2008-04-15 2:04 ` Glenn Morris
2008-04-15 2:39 ` Stefan Monnier
2008-04-15 7:10 ` Glenn Morris
2008-04-14 20:12 ` Stefan Monnier
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=87zlrxk7yf.fsf@localhorst.mine.nu \
--to=david.hansen@gmx.net \
--cc=emacs-devel@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 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).