[Telepathy] [Bug 11201] New: Race condition while manipulating our own vCard

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 8 04:58:05 PDT 2007


http://bugs.freedesktop.org/show_bug.cgi?id=11201

           Summary: Race condition while manipulating our own vCard
           Product: Telepathy
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: telepathy-gabble
        AssignedTo: telepathy at lists.freedesktop.org
        ReportedBy: simon.mcvittie at collabora.co.uk


There is some race condition in vCard lookups - if we fetch our own vCard (as
we do on connection to get the avatar), set our own alias and set our own
avatar, at the same time, then we can accidentally clobber our own changes.
Someone needs to examine the relevant code and fix this.

Suggested fix: if there is a request "in flight" to fetch our own vCard, and we
get a request to change our own vCard, don't send off a new request to fetch
our own vCard. Instead, remember what changes need to be made to our own vCard
(possibly coalescing them), and when it arrives, make the changes and send it
back out.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Telepathy mailing list