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

Re: Multiarch and D-Bus



On Fri, Jul 1, 2011 at 10:01 AM, Simon McVittie <smcv@debian.org> wrote:
> On Fri, 01 Jul 2011 at 09:39:54 +0200, Josselin Mouette wrote:
>> Before we start to work on some packages, I’d like to ask if someone has
>> checked whether D-Bus is multiarch-safe. Said otherwise, is it possible
>> to use a D-Bus interface over another architecture?
>
> D-Bus is machine-word-size-neutral (all types have a known size in bits) so
> that's fine. Foreign-endian messages are always *meant* to have worked, but
> nobody tested that, so it was broken until recently (CVE-2011-2200). Fixed
> now, though.
>
> If a particular D-Bus API bypasses the D-Bus type system and sends
> native-endian or native-word-size structs as a byte array, then nothing
> in D-Bus will save you from that, but that would be a silly thing
> to do, and I'm not aware of any API that does so.

Even dark corner like double endianess ?

Bastien

>
> (Coincidentally, I've just uploaded a Multi-Arch: same version of libdbus
> to unstable.)
>
> Regards,
>    S
>
>
> --
> To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20110701080104.GB10846@reptile.pseudorandom.co.uk">http://lists.debian.org/[🔎] 20110701080104.GB10846@reptile.pseudorandom.co.uk
>
>


Reply to: