[Bug 23013] New: ContactCapabilities.SetSelfCapabilities can crash gabble with wrong parms

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 29 08:18:25 CEST 2009


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

           Summary: ContactCapabilities.SetSelfCapabilities can crash gabble
                    with wrong parms
           Product: Telepathy
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: telepathy-gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: neil.loknath at gmail.com


Steps to Reproduce: 

    1) Get a DBus proxy to the ContactCapabilities interface
    1.5) Create an array of dictionaries of key type string and value type
object
    2.) Add a new dictionary item to the array
    3.) Add ChannelType DBusTube, TargetHandleType Contact, and ServiceName
whatever
    4.) Add another new dictionary item to the array
    5.) Add ChannelType StreamTube, TargetHandleType Contact, and ServiceName
whatever2 (yes, I know ServiceName should be Service for StreamTube. This is
what causes the crash)
    6.) Pass the array to ContactCapabilities.SetSelfCapabilities


Actual Results: What the application did after performing the above steps.

    telepathy-gabble crashes
    Error "Did not receive reply" can be seen in dbus-monitor output (obviously
due to the gabble crash)

Expected Results: What the application should have done, were the bug not
present.

    Issue an exception / ignore the erroronous item in the array, but do not
crash gabble.

Build Date & Platform: Date and platform of the build in which you first
encountered the bug.

    gabble 0.7.31 on Ubuntu 9.04 with Empathy 2.27.3


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



More information about the telepathy-bugs mailing list