BUG: NULL key crashed _dbus_hash_table_lookup_string()

Thiago Macieira thiago at kde.org
Thu Aug 16 23:54:46 PDT 2007


Fan Wu wrote:
>If a NULL key is passed to _dbus_hash_table_lookup_string(), the
>program will crash. It seems the root of the problem is in the
>following code:

Why is a NULL key being passed to the hashing function in the first place?

In general, passing NULL char* into D-Bus is not allowed.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20070817/3febde65/attachment.pgp 


More information about the dbus mailing list