emacs-devel
[Top][All Lists]
Advanced

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

Re: dbusbind.c patch, fixes possible segfault


From: David Hansen
Subject: Re: dbusbind.c patch, fixes possible segfault
Date: Sun, 13 Apr 2008 18:58:32 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux)

On Sun, 13 Apr 2008 18:43:13 +0200 Michael Albinus wrote:

> David Hansen <address@hidden> 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





reply via email to

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