Bug 189206

Summary: [PATCH] crash of the backup conduit in gnome-pilot-2.0.13-7.fc5.5
Product: [Fedora] Fedora Reporter: Fabrice Bellet <fabrice>
Component: gnome-pilotAssignee: Dave Malcolm <dmalcolm>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: fabrice
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-20 23:12:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fabrice Bellet 2006-04-18 12:04:49 UTC
Hi!,

gnome-pilot-2.0.13-7.fc5.5 in testing updates requires this one-liner fix, to
have the backup conduit work properly (because this part of the function may be
reached before pi_file_create() is called) :

--- gnome-pilot-2.0.13/conduits/backup/backup_conduit.c.orig    2006-04-18
12:48:19.000000000 +0200
+++ gnome-pilot-2.0.13/conduits/backup/backup_conduit.c 2006-04-18
12:49:02.000000000 +0200
@@ -591,7 +591,7 @@
  db_close:
        dlp_CloseDB (dbinfo->pilot_socket, dbinfo->db_handle);
  exit_and_free:
-       pi_file_close (f);
+       if (f) pi_file_close (f);
        g_free (name);
  exit:
        return result;

Comment 2 Frank Arnold 2006-04-20 06:19:52 UTC
*** Bug 189205 has been marked as a duplicate of this bug. ***

Comment 3 Frank Arnold 2006-04-20 06:20:13 UTC
*** Bug 189200 has been marked as a duplicate of this bug. ***

Comment 4 Fabrice Bellet 2006-04-20 23:12:02 UTC
fixed in an fc5-updates (bug #189294)