Skip to content

runtime error: invalid memory address or nil pointer dereference #39

@1000-mikhail

Description

@1000-mikhail

./RealiTLScanner -addr [REDACTED_IP]
time=[timestamp] level=WARN msg="Cannot open Country.mmdb" err="open Country.mmdb: no such file or directory"
time=[timestamp] level=INFO msg="Started all scanning threads"
time=[timestamp] level=INFO msg="Enable infinite mode" init=[REDACTED_IP]
time=[timestamp] level=INFO msg="Connected to target" feasible=true ip=[REDACTED_IP] origin=[REDACTED_IP] tls="TLS 1.3" alpn=h2 curve=X25519MLKEM768 cert-length="2942(certs count: 2)" cert-signature=SHA256-RSA cert-publickey=RSA cert-domain=*.outturner.com cert-issuer="GlobalSign nv-sa" geo=N/A
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x90 pc=0x67fc64]

goroutine 11 [running]:
main.ScanTLS({{0x19405336a2e8, 0x10, 0x18}, {0x1940533646c0, 0xe}, 0x1}, 0x1940533741c0, 0x1940533761e0)
/home/user/RealiTLScanner/scanner.go:89 +0xda4
main.main.func1()
/home/user/RealiTLScanner/main.go:108 +0xc5
created by main.main in goroutine 1
/home/user/RealiTLScanner/main.go:106 +0x129e

System information:
OS: Ubuntu 20.04.6 LTS (Focal Fossa)
Kernel: 5.4.0-156-generic
Go version: go1.26.2 linux/amd64
RealiTLScanner: latest master (2026-05-25 commit)

Additional notes:
The issue did not occur before the post-quantum commit (2026-05-25)

GODEBUG=tlsmlkem=0 does NOT fix the issue in Go 1.26.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions