From 64ba11890f7ba352604b0d807bf0f26c7992dc82 Mon Sep 17 00:00:00 2001 From: Christopher Allen Wing Date: Mon, 31 Jul 2006 17:36:32 +0000 Subject: [PATCH] STABLE14-bucoord-64-bit-cleanup-20060701 However, in bucoord/commands.c, bc_VolRestoreCmd(), bc_DiskRestoreCmd(), bc_VolsetRestoreCmd(), and bc_DumpCmd() were passing '0' as arguments instead of NULL. Because there is no prototype for bc_StartDmpRst() this results in a crash on 64-bit Linux. (when running 'volrestore' from an interactive backup session) --- src/bucoord/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bucoord/commands.c b/src/bucoord/commands.c index 9f8858355..78c36bb6f 100644 --- a/src/bucoord/commands.c +++ b/src/bucoord/commands.c @@ -1564,7 +1564,7 @@ bc_VolsetRestoreCmd(as, arock) /* Perform the call to start the restore */ code = bc_StartDmpRst(bc_globalConfig, "disk", "restore", volsToRestore, - /*destserver */ 0, /*destpartition */ 0, fromDate, + /*destserver */ NULL, /*destpartition */ 0, fromDate, newExt, oldFlag, /*parentDump */ 0, /*dumpLevel */ 0, bc_Restorer, ports, portCount, -- 2.39.5