ubuntuone-nautilus crashes in PublicFilesList callback

Bug #627329 reported by Roman Yepishev on 2010-08-31
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Rodrigo Moya
ubuntuone-client (Ubuntu)
Rodrigo Moya

Bug Description

finfo does not reference any data during hash table insert so glib hash routines reference unitialized memory causing a crash:

Here's a patch:
     g_hash_table_remove_all (uon->public);
     for (l = files; l != NULL; l = l->next) {
- SyncdaemonFileInfo *finfo;
+ SyncdaemonFileInfo *finfo = (SyncdaemonFileInfo *) l->data;

       g_hash_table_insert (uon->public,
       g_strdup (syncdaemon_file_info_get_path (finfo)),

Related branches

Roman Yepishev (rye) on 2010-08-31
Changed in ubuntuone-client (Ubuntu):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Rodrigo Moya (rodrigo-moya)
milestone: none → ubuntu-10.10
Changed in ubuntuone-client:
status: Confirmed → In Progress
dobey (dobey) on 2010-08-31
Changed in ubuntuone-client:
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-client - 1.3.99-0ubuntu1

ubuntuone-client (1.3.99-0ubuntu1) maverick; urgency=low

  * New upstream release:
    - Use spinner and gray out widgets when syncing/unsyncing (Rodrigo Moya)
    - Fixed SSO signals' signatures in u1-prefs (Rodrigo Moya) (LP: #625296)
    - Memory improvements in the AQ queues, markers revisited (Facundo Batista)
    - Get the subinterfaces ASAP so that the signals from them are setup
      (Rodrigo Moya) (LP: #621433)
    - Fix crash in ubuntuone_nautilus_got_public_files (Rodrigo Moya)
      (LP: #627329)
  * debian/control:
    - Depend on ubuntu-sso-client >= 0.99.4
 -- Rodrigo Moya <email address hidden> Tue, 31 Aug 2010 17:11:09 +0200

Changed in ubuntuone-client (Ubuntu):
status: Confirmed → Fix Released
Changed in ubuntuone-client:
status: Fix Committed → Fix Released
tags: added: nautilus
dobey (dobey) on 2010-09-03
Changed in ubuntuone-client:
status: Fix Released → Fix Committed
Changed in ubuntuone-client:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers