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

Crash in SSL #2701

Open
DarthGandalf opened this issue Mar 16, 2025 · 0 comments
Open

Crash in SSL #2701

DarthGandalf opened this issue Mar 16, 2025 · 0 comments

Comments

@DarthGandalf
Copy link
Member

I was playing with ZNC certificates and managed to crash KVIrc 6710797 by connecting it to it while znc.pem is an empty file

The crash happened when I clicked the "connect" button on toolbar in the context which was previously connected to that ZNC instance; at the moment of that click it wasn't connected.

Here's log from ZNC:

[2025-03-16 19:51:43.736316] /home/somebody/znc/git/build-cmake/src/Csocket.cpp:1842 Error with SSLCert file [/home/somebody/.znc/znc.pem]
[2025-03-16 19:51:43.736358] /home/somebody/znc/git/build-cmake/src/Csocket.cpp:666 at /home/somebody/znc/git/build-cmake/src/Csocket.cpp:1843
[2025-03-16 19:51:43.736396] /home/somebody/znc/git/build-cmake/src/Csocket.cpp:671 error:0480006C:PEM routines::no start line
[2025-03-16 19:51:43.736425] /home/somebody/znc/git/build-cmake/src/Csocket.cpp:666 at /home/somebody/znc/git/build-cmake/src/Csocket.cpp:1843
[2025-03-16 19:51:43.736457] /home/somebody/znc/git/build-cmake/src/Csocket.cpp:671 error:0A080009:SSL routines::PEM lib

I suppose ZNC closed the socket by seeing incorrect certificate, but KVIrc shouldn't crash by that

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

No branches or pull requests

1 participant