With the following backtrace... Executing profile command: ${TLPREFIX}/bin/tl-run-windesk Connecting to RDP server htlrds03.intern.hoglandet.se... ERROR: scard_enum_devices: PCSC service not available *** glibc detected *** /opt/thinlinc/bin/rdesktop: free(): invalid next size (fast): 0x0000000001dd40a0 *** ======= Backtrace: ========= /lib64/libc.so.6[0x384087da76] /lib64/libc.so.6[0x384087ed5e] /opt/thinlinc/bin/rdesktop[0x45064e] /opt/thinlinc/bin/rdesktop[0x45233e] /opt/thinlinc/bin/rdesktop[0x433670] /opt/thinlinc/bin/rdesktop[0x4359d4] /opt/thinlinc/bin/rdesktop[0x438806] /opt/thinlinc/bin/rdesktop[0x40d187] /lib64/libc.so.6(__libc_start_main+0xed)[0x384082169d] /opt/thinlinc/bin/rdesktop[0x40bca9] ======= Memory map: ======== 00400000-00710000 r-xp 00000000 fd:01 2752878 /opt/thinlinc/bin/rdesktop 00910000-0093d000 rw-p 00310000 fd:01 2752878 /opt/thinlinc/bin/rdesktop 0093d000-00c6e000 rw-p 00000000 00:00 0 01d7b000-01e04000 rw-p 00000000 00:00 0 [heap] 3840400000-3840422000 r-xp 00000000 fd:01 1179678 /lib64/ld-2.14.90.so 3840621000-3840622000 r--p 00021000 fd:01 1179678 /lib64/ld-2.14.90.so 3840622000-3840623000 rw-p 00022000 fd:01 1179678 /lib64/ld-2.14.90.so
Running valgrind on rdesktop identified a issues in cssp.c were rdp_out_unistr() is used on a buffer of X bytes but internally rdp_out_unistr() wants X + 4 bytes buffer allocation. Fix commited upstream in r1826.
(In reply to comment #1) > Running valgrind on rdesktop identified a issues in cssp.c were > rdp_out_unistr() is used on a buffer of X bytes but internally rdp_out_unistr() > wants X + 4 bytes buffer allocation. > > Fix commited upstream in r1826. Fix brought to ctc in commit 29304.
This is a regression in impl. for bug #5126, marking as duplicate. *** This bug has been marked as a duplicate of bug 5126 ***