Comment 11 for bug 971219

Revision history for this message
Joshua Buysse (buysse) wrote :

I can see that it's crashing on hosts that have a custom SSL cert that includes subject alternative names, and not on hosts with the default cert from active directory. Here's a backtrace from gdb:
% gdb /usr/bin/xfreerdp
...
(gdb) run -d AD -u buysse REDACTED.umn.edu
Starting program: /usr/bin/xfreerdp -d AD -u buysse REDACTED.umn.edu
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff42a7700 (LWP 21643)]
connected to REDACTED.umn.edu:3389
Password:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff42a7700 (LWP 21643)]
0x00007ffff738918c in crypto_cert_subject_alt_name () from /usr/lib/libfreerdp-core.so.1.0
(gdb) bt
#0 0x00007ffff738918c in crypto_cert_subject_alt_name () from /usr/lib/libfreerdp-core.so.1.0
#1 0x00007ffff739e2bb in tls_verify_certificate () from /usr/lib/libfreerdp-core.so.1.0
#2 0x00007ffff7389579 in credssp_get_public_key () from /usr/lib/libfreerdp-core.so.1.0
#3 0x00007ffff7389f98 in credssp_authenticate () from /usr/lib/libfreerdp-core.so.1.0
#4 0x00007ffff739fc0a in transport_connect_nla () from /usr/lib/libfreerdp-core.so.1.0
#5 0x00007ffff739aaa1 in rdp_client_connect () from /usr/lib/libfreerdp-core.so.1.0
#6 0x00007ffff73962d4 in freerdp_connect () from /usr/lib/libfreerdp-core.so.1.0
#7 0x000000000041034b in xfreerdp_run ()
#8 0x000000000041062c in thread_func ()
#9 0x00007ffff5fd1e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007ffff5cfecbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()
(gdb) quit