Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS: fix extraction for TLS signature algorithms #1180

Merged
merged 1 commit into from
May 9, 2021

Conversation

IvanNardi
Copy link
Collaborator

==69562==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6100009000fb at pc 0x7f41882003a7 bp 0x7f4183cfbfc0 sp 0x7f4183cfb768
READ of size 32 at 0x6100009000fb thread T1
    #0 0x7f41882003a6 in __interceptor_memcpy ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:827
    #1 0x560b2d7462a1 in processClientServerHello protocols/tls.c:1647
    #2 0x560b2d73be6a in processTLSBlock protocols/tls.c:712
    #3 0x560b2d73e61f in ndpi_search_tls_udp protocols/tls.c:968

```
==69562==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6100009000fb at pc 0x7f41882003a7 bp 0x7f4183cfbfc0 sp 0x7f4183cfb768
READ of size 32 at 0x6100009000fb thread T1
    #0 0x7f41882003a6 in __interceptor_memcpy ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:827
    ntop#1 0x560b2d7462a1 in processClientServerHello protocols/tls.c:1647
    ntop#2 0x560b2d73be6a in processTLSBlock protocols/tls.c:712
    ntop#3 0x560b2d73e61f in ndpi_search_tls_udp protocols/tls.c:968
```
@lucaderi lucaderi merged commit 2ca37ff into ntop:dev May 9, 2021
@lucaderi
Copy link
Member

lucaderi commented May 9, 2021

Good catch

@IvanNardi IvanNardi deleted the tls-signature-alg branch July 18, 2021 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants