[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FDclone-users:00116] FD-2.02a: chdir failure leads to segv



 FD-2.02a で、「mkdir -m 0 foo」としておいて、 fd を起動して
foo で Enter を押して入ろうとすると、

foo: Permission denied

と出た後で segv します。

Program received signal SIGSEGV, Segmentation fault.
0x806bbcb in strncpy3 (s1=0x80ab838 "", s2=0x0, lenp=0xbfbfeb1c, ptr=0) at libc.c:522
522             }
(gdb) where
#0  0x806bbcb in strncpy3 (s1=0x80ab838 "", s2=0x0, lenp=0xbfbfeb1c, ptr=0) at libc.c:522
#1  0x8094c30 in infobar () at browse.c:533
#2  0x8095e20 in rewritefile (all=1) at browse.c:931
#3  0x807fab7 in warning (no=-1, s=0xbfbff4b0 "foo") at input.c:2466
#4  0x80977a7 in main_fd (path=0x0) at browse.c:1482
#5  0x804aebb in main (argc=1, argv=0xbfbff640, envp=0xbfbff648) at main.c:993
#6  0x8049f16 in _start ()
(gdb) 

 2.02b- では発生しないようなんですが、これは修正されたという
ことでよいですか?

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"It went right by me -- At the time it went over my head
   I was looking out the window.. I should have looked at your face instead"