Menu

#217 segfault when sharing relative path

Unstable_(example)
open
nobody
None
5
2013-02-02
2013-02-02
canavan
No

rdesktop segfaults when attempting to share a relative directory with only one level, e.g. with

-r disk:SHARE=directory

somehow the debugger confused channels.c with disk.c:

Process 17687 (rdesktop) stopped on signal SIGSEGV: Segmentation violation (default) at [disk_query_information:655 +0x10,0x10019d2c]
Process 17687 line 655 is not in file /rdesktop-1.7.1/channels.c
(dbx) where

0 disk_query_information() ["/rdesktop-1.7.1/channels.c":655, 0x10019d2c]
1 rdpdr_process_irp() ["/rdesktop-1.7.1/channels.c":571, 0x1001e6e0]
2 rdpdr_process() ["/rdesktop-1.7.1/channels.c":800, 0x1001f498]
3 sec_recv() ["/rdesktop-1.7.1/rdp.c":851, 0x1005ca18]
4 rdp_loop() ["/rdesktop-1.7.1/rdp.c":96, 0x10061c60]
5 main() ["/rdesktop-1.7.1/parallel.c":1022, 0x10076184]
6 __start() ["/xlv55/kudzu-apr12/work/irix/lib/libc/libc_n32_M4/csu/crt1text.s":177, 0x1000b6d8]

1 Attachments

Discussion