-
Notifications
You must be signed in to change notification settings - Fork 37
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
Segmentation Fault on RHEL 8.5 #95
Comments
I made a script to reproduce the seg fault: https://github.com/nabla-c0d3/nassl/blob/%2395-debug-seg-fault/repro.py The docker commands are available in the sslyze issue; this command needs to be run to build nassl locally:
|
Similar issue at nabla-c0d3/sslyze#621 but the crash happens on import? |
The following file can reproduce the "scsv" issue:
It crashes with the following stack trace:
What's surprising is that there is a call to My current guess is as follow:
Which one gets used at runtime? This could be the problem. |
Similar stack trace for the crash when running
|
This stack trace for
|
Turns out this was the problem. OpenSSL code embedded within nassl would end up calling symbols (such as This would cause incompatible versions of OpenSSL to call each other, resulting in a segmentation fault on some Linux distros (such as Red Hat). It's unclear to me why it would only happen on specific distros. The fix is to add the following Before the fix:
After the fix:
|
[#95] Fix Red Hat segmentation faults
nabla-c0d3/sslyze#556
The text was updated successfully, but these errors were encountered: