[packagekit] Pk 0.7 crash

Daniel Nicoletti dantti85-pk at yahoo.com.br
Wed Jul 27 12:48:21 PDT 2011


as expected there is a crash with the new dbus stuff :P

This code crashes when, updated is NULL,
but this workaround is not so nice imo.
And as I'm no glib explert I wont commit the fix
as this won't fix the case whne issued is NULL or
any of the variant items is null ...

       g_variant_new ("(ssssssssssss)",
      package_id,
      updates,
      obsoletes,
      vendor_url,
      bugzilla_url,
      cve_url,
      restart_text,
      update_text,
      changelog,
      state_text,
      issued,
      updated == NULL ? "" : updated) 
Richard dunno if you knew this problem but now you
know that I know :P

best________________________________
Daniel Nicoletti - KDE Developer
http://dantti.wordpress.com
When a wicked man dies, his hope perishes;
all he expected from his power comes to nothing. Prov. 11:7




More information about the PackageKit mailing list