Ticket #2973: 0001-telepathy-gabble-segfaluts-on-activity-launch-2973.patch

File 0001-telepathy-gabble-segfaluts-on-activity-launch-2973.patch, 806 bytes (added by alsroot, 13 years ago)
  • src/conn-olpc.c

    From ace4871b2c51c4430bed04424b14d3c2f4ac0029 Mon Sep 17 00:00:00 2001
    From: Aleksey Lim <alsroot@activitycentral.org>
    Date: Fri, 15 Jul 2011 01:43:25 +0000
    Subject: [PATCH] telepathy-gabble segfaluts on activity launch #2973
    
    ---
     src/conn-olpc.c |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/src/conn-olpc.c b/src/conn-olpc.c
    index 655a5cc..6448578 100644
    a b find_activity_by_id (GabbleConnection *self, 
    30233023  while (g_hash_table_iter_next (&iter, &key, &value))
    30243024    {
    30253025      GabbleOlpcActivity *activity = GABBLE_OLPC_ACTIVITY (value);
    3026       if (strcmp (activity->id, activity_id) == 0)
     3026      if (activity->id != NULL && strcmp (activity->id, activity_id) == 0)
    30273027        return activity;
    30283028    }
    30293029