Xshell Forum

XShell buffer overflow text file

Last post: Friday, September 14, 2007 5:57 PM by Support, 3 reply

 
Monday, September 10, 2007 10:23 PM - Bambo Huang

XShell buffer overflow text file

 
Host system:
Windows XP SP2 Simplified Chinese Edition
XShell version:
newest beta version(


1、AIX 5.3
enviroment :
AUTHSTATE=compat
PAM_SERVICE=su
TERM=xterm
SHELL=/usr/bin/bash
NLS_LANG=AMERICAN
LOCPATH=/usr/lib/nls/loc
USER=ifdev
ODMDIR=/etc/objrepos
ACE_ROOT=/home/ifdev/ACE/ACE_wrappers
PATH=/usr/java5/bin:/opt/freeware/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/usr/vac/bin:/usr/vacpp/bin:/home/ifdev/InstantClient32/bin:/home/ifdev/bin:/home/ifdev/InstantClient32/:.:/develop/software/bin
MAIL=/usr/spool/mail/ifdev
TNS_ADMIN=/home/ifdev/etc
LOGIN=ifuser
PWD=/dccm/log/GatePlat/log
LANG=en_US
TZ=BEIST-8
XERCESCROOT=/home/ifdev/wy/xerces-c-aix_510-xlc_60_050623
HOME=/home/ifdev
SHLVL=2
CONFIG_SHELL=/usr/bin/bash
LC__FASTMSG=true
MAILMSG=[YOU HAVE NEW MAIL]
XERCES_HOME=/home/ifdev/wy/xerces-c-aix_510-xlc_60_050623
LOGNAME=ifdev
ORACLE_HOME=/home/ifdev/InstantClient32
LDR_CNTRL=MAXDATA=0x40000000
_=/usr/bin/env

Show a file given by me with command cat, xshell sometimes give some strange behavior , looks like buffer overflow(data receive buffer recovered input data buffer)

2、redhat AS4 (Red Hat Enterprise Linux AS release 4 (Nahant))
Show the file ( with cat )given by me will directely make xshell die (take 100% cpu with no response).


3、The given file is a text log file ,becouse it is too big(9.3M compressed with gzip), if you want it, I will mail you.
Tuesday, September 11, 2007 11:11 AM - Support

Re: XShell buffer overflow text file

 
We are currently working on this problem. Please check back soon for an update.

Thank you.

---
Technical Support

Friday, September 14, 2007 4:57 PM - Bambo Huang

Re: Re: XShell buffer overflow text file

 
The problem on AIX 5.3 is still there.
The attachment is one of the log showed on Xshell.
But the file make the probelm is too big to put here.
The problem is use cat to show a big log file, some times buffer will overflow and maybe the receive buffer will cover the send buffer and something(I don't know if it is a bug of bash downed from ibm's web site or xshell).
Attachment log.txt (98.5 KB)  
Friday, September 14, 2007 5:57 PM - Support

Re: Re: Re: XShell buffer overflow text file

 
We have tested Xshell 3.0 Beta (Build 0164, released on Sep 12, 2007) with big size log files (over 10M), but failed to duplicate this problem.

Please send the problem log file to support@netsarang.com.

Thank you for your cooperation.


---
Technical Support