Displaying 1 result from an estimated 1 matches for "parent_dp".
Did you mean:
parent_dn
2007 Dec 13
3
rsync 3.00pre6 segfault in add_dirs_to_tree
...argv=0x56c230) at main.c:1260
(gdb) bt f
#0 add_dirs_to_tree (parent_ndx=-1, from_flist=0x56c590, dir_cnt=1) at
flist.c:1422
file = (struct file_struct *) 0x0
~~~~it crashes at add_dirs_to_tree() when reference a NULL pointer.
i = 2
dp = (int32_t *) 0x2a983f2f28
parent_dp = (int32_t *) 0x0
(gdb) p *((struct file_list *)0x56c590)->sorted[0]
$4 = {dirname = 0x0, modtime = 1197492871, len32 = 4096, mode = 16895,
flags = 5, basename = "."}
(gdb) p *((struct file_list *)0x56c590)->sorted[1]
$5 = {dirname = 0x0, modtime = 1197488045, len32 = 16384, mode =...