Skip to content

Instantly share code, notes, and snippets.

@hardening
Created June 24, 2021 13:34
Show Gist options
  • Save hardening/7767accb05999a751ae0b2b1416e745e to your computer and use it in GitHub Desktop.
Save hardening/7767accb05999a751ae0b2b1416e745e to your computer and use it in GitHub Desktop.
==390426== Thread 2:
==390426== Invalid write of size 2
==390426== at 0x4840243: memcpy@GLIBC_2.2.5 (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==390426== by 0x4D08F45: kerberos_EncryptMessage (kerberos.c:675)
==390426== by 0x4D0A001: negotiate_EncryptMessage (negotiate.c:510)
==390426== by 0x4D103AA: winpr_EncryptMessage (sspi_winpr.c:1551)
==390426== by 0x544BD82: nla_encrypt (nla.c:438)
==390426== by 0x544EAC9: nla_encrypt_public_key_hash (nla.c:1474)
==390426== by 0x544CEDD: nla_client_recv_nego_token (nla.c:870)
==390426== by 0x544D2DF: nla_client_recv (nla.c:953)
==390426== by 0x545125A: nla_recv_pdu (nla.c:2217)
==390426== by 0x549C790: rdp_recv_callback (rdp.c:1522)
==390426== by 0x54B517F: transport_check_fds (transport.c:1078)
==390426== by 0x549D484: rdp_check_fds (rdp.c:1729)
==390426== Address 0x15e6ddfc is 0 bytes after a block of size 92 alloc'd
==390426== at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==390426== by 0x4D0C9A8: sspi_SecBufferAlloc (sspi_winpr.c:258)
==390426== by 0x544AA6D: nla_sec_buffer_alloc (nla.c:163)
==390426== by 0x544E9CD: nla_encrypt_public_key_hash (nla.c:1446)
==390426== by 0x544CEDD: nla_client_recv_nego_token (nla.c:870)
==390426== by 0x544D2DF: nla_client_recv (nla.c:953)
==390426== by 0x545125A: nla_recv_pdu (nla.c:2217)
==390426== by 0x549C790: rdp_recv_callback (rdp.c:1522)
==390426== by 0x54B517F: transport_check_fds (transport.c:1078)
==390426== by 0x549D484: rdp_check_fds (rdp.c:1729)
==390426== by 0x548B8B0: rdp_client_connect (connection.c:373)
==390426== by 0x54762D4: freerdp_connect (freerdp.c:114)
==390426==
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment