Hi,

Thank you for your feedback,

   +-From: Peter Kraft <pe...@oskrafts.org> --
   |_Date: Wed, 16 Feb 2011 01:57:58 -0500 ___
   |
   |I've found (and fixed) a bug in the jsch SFTP code that parses the
   |file type attributes returned from the server.  The bit masking logic
   |is not quite correct.  This will manifest itself by incorrectly
   |labeling a socket file type as a directory.  To reproduce the problem,
   |just use the ChannelSftp class to list a file on the server that is a
   |socket, and call the isDir() method from the SftpATTRS class.  The
   |value of isDir() will be true, but it should be false.  For a possible
   |test case, there is a socket file on my Ubuntu box named:
   |/var/run/acpid.socket.

You are right.
The next release will fix it.  


Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
    +1-415-578-3454
Skype callto://jcraft/
Twitter: http://twitter.com/ymnk

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to