[guus@debian.org: Bug#290306: dbus-1-dev: silly typedefs]

Guus Sliepen guus@sliepen.eu.org
Thu Jan 13 14:42:02 PST 2005


On Thu, Jan 13, 2005 at 04:48:17PM -0500, Havoc Pennington wrote:

> > Sure, but as you can see, the current typedefs could well be the cause
> > of a security hole on another architecture. The blind wrapping done in
> > dbus-types.h is detrimental to security.
[...]
> It just isn't a problem in practice. I think glib and Qt (and a lot of
> other libraries, for that matter) have shown that.

Of course it is not a problem for glib, because if you compile glib, it
checks the size of (short/long/long long) int in the configure script
and then actually uses the results to create the appropriate typedefs. I
see that dbus's configure script checks for the sizes, but then does
nothing with the result, except to define the 64 bit types.

-- 
Met vriendelijke groet / with kind regards,
    Guus Sliepen <guus@sliepen.eu.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050113/69b98563/attachment-0001.pgp


More information about the dbus mailing list