2 This patch fixes (hopefully) a segment fault in restore when an
3 empty path is found for a file.
4 Apply it to 1.36.0 with:
7 patch -p0 <1.36.0-tree.patch
12 ===================================================================
13 RCS file: /cvsroot/bacula/bacula/src/lib/tree.c,v
14 retrieving revision 1.18
16 --- src/lib/tree.c 16 Jul 2004 07:23:40 -0000 1.18
17 +++ src/lib/tree.c 21 Nov 2004 16:03:53 -0000
20 Dmsg2(400, "count=%d size=%d\n", count, size);
21 malloc_buf(root, size);
22 + root->cached_path_len = -1;
23 root->cached_path = get_pool_memory(PM_FNAME);