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 parsing of certificate elements #1435

Merged
merged 1 commit into from
Feb 7, 2022
Merged

Commits on Feb 4, 2022

  1. TLS: fix parsing of certificate elements

    Found by oss-fuzz:
    https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=44280
    ```
    ==263603==WARNING: MemorySanitizer: use-of-uninitialized-value
        #0 0x592478 in ndpi_is_printable_string ndpi/src/lib/ndpi_utils.c:2200:9
        ntop#1 0x5b047c in processCertificateElements ndpi/src/lib/protocols/tls.c:400:7
        ntop#2 0x5ac880 in processCertificate ndpi/src/lib/protocols/tls.c:790:7
        ntop#3 0x5c3a32 in processTLSBlock ndpi/src/lib/protocols/tls.c:844:13
        ntop#4 0x5c2c61 in ndpi_search_tls_tcp ndpi/src/lib/protocols/tls.c:973:2
        ntop#5 0x5c117d in ndpi_search_tls_wrapper ndpi/src/lib/protocols/tls.c:2367:5
        ntop#6 0x552a50 in check_ndpi_detection_func ndpi/src/lib/ndpi_main.c:4792:6
    ```
    IvanNardi committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    9be84cb View commit details
    Browse the repository at this point in the history