APAR status
Closed as program error.
Error description
Customer is unable to login to 4690 SFTP server from Windows client. They use WinSCP as a SFTP client. 4690 V5R1 07G0 is running on the controller. We can connect from 4690 SFTP client, so 4690 server must be configured correctly. . Following controller events are logged on the controller even even though the message "error listing directory 'c:'." is displayed on the client side. . ---------------------------------------------------------------- 11/28 12:09 CC 5 W891 FTP logout ID=4690 B4/S247/E030 SOURCE: Unknown UNIQUE DATA: 343639300000000000000000006F6E001700 *4690.........on...* --------------------------------------------------------------- 11/28 12:09 CC 5 W890 FTP login ID=4690 B4/S247/E030 SOURCE: Unknown UNIQUE DATA: 343639300000000000000000000000000000 *4690..............* --------------------------------------------------------------- 11/28 12:09 CC 5 W889 FTP connection from 10.47.99.100 B4/S247/E030 SOURCE: Unknown UNIQUE DATA: 31302E34372E39392E313030000000000000 *10.47.99.100......* --------------------------------------------------------------- . Following message is logged in WinSCP.log. . 2007-11-28 11:09:43.906 Server unexpectedly closed network connection * 2007-11-28 11:09:43.921 (ESshFatal) Server unexpectedly closed network connection.
Local fix
Problem summary
When a SFTP client was sending the path "C:", the 4690 sftp server was getting a null pointer trying to find the '/' character. The client sends this path when trying to perform function SSH2_FXP_OPENDIR which returns a directory on the path sent to the server.
Problem conclusion
A null pointer validation was added to the function strchr() in case there is no '/' in the path sent by the client. This validation lets the code continue command validation and confirm that the path is correct.
Temporary fix
Comments
APAR Information
APAR number
IO08105
Reported component name
IBM 4690OS V5
Reported component ID
5639GG100
Reported release
101
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2007-12-18
Closed date
2008-01-21
Last modified date
2008-05-05
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
IO08694
Modules/Macros
SFTP-SER ADXSSHPL
Fix information
Fixed component name
IBM 4690OS V5
Fixed component ID
5639GG100
Applicable component levels
R101 PSY UO00730
UP08/05/05 P 08G0
[{"Line of Business":{"code":null,"label":null},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SOULYT","label":"Point of Sale Software->4690 Operating System"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"101"}]
Document Information
Modified date:
10 September 2020