Bug#297430: xterm: memory corruption and SEGV iff window height == 1
Package: xterm
Version: 4.3.0.dfsg.1-12.0.1
Severity: normal
Hi XSF!
Running xterm under valgrind shows heaps of errors after resizing the
xterm to one line height:
==8438== Invalid read of size 4
==8438== at 0x80538AB: (within /usr/X11R6/bin/xterm)
==8438== by 0x8053496: (within /usr/X11R6/bin/xterm)
==8438== by 0x8053849: (within /usr/X11R6/bin/xterm)
==8438== by 0x8053134: (within /usr/X11R6/bin/xterm)
==8438== Address 0x1BF4A758 is not stack'd, malloc'd or (recently) free'd
==8438==
==8438== Invalid read of size 1
==8438== at 0x80538AF: (within /usr/X11R6/bin/xterm)
==8438== by 0x8053496: (within /usr/X11R6/bin/xterm)
==8438== by 0x8053849: (within /usr/X11R6/bin/xterm)
==8438== by 0x8053134: (within /usr/X11R6/bin/xterm)
==8438== Address 0x1BFFF470 is 739680 bytes inside a block of size 754560 free'd
and much more of this. Please, could someone with a debug-enabled xterm look
into this?
This leads to a reproducible stacksmashing SEGV when running scp within
this xterm.
Regards, David
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-k6-1
Locale: LANG=C, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Versions of packages xterm depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libexpat1 1.95.8-1 XML parsing C library - runtime li
ii libfontconfig1 2.2.3-4 generic font configuration library
ii libfreetype6 2.1.7-2.3 FreeType 2 font engine, shared lib
ii libice6 4.3.0.dfsg.1-12.0.1 Inter-Client Exchange library
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libsm6 4.3.0.dfsg.1-12.0.1 X Window System Session Management
ii libxaw7 4.3.0.dfsg.1-12.0.1 X Athena widget set library
ii libxext6 4.3.0.dfsg.1-12.0.1 X Window System miscellaneous exte
ii libxft2 2.1.2-6 FreeType-based font drawing librar
ii libxmu6 4.3.0.dfsg.1-12.0.1 X Window System miscellaneous util
ii libxpm4 4.3.0.dfsg.1-12.0.1 X pixmap library
ii libxrender1 0.8.3-7 X Rendering Extension client libra
ii libxt6 4.3.0.dfsg.1-12.0.1 X Toolkit Intrinsics
ii xlibs 4.3.0.dfsg.1-12 X Keyboard Extension (XKB) configu
ii xlibs-data 4.3.0.dfsg.1-12 X Window System client data
-- debconf information:
xterm/clobber_xresource_file:
xterm/xterm_needs_devpts:
Reply to: