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

IRC disconnection might lead to segfault #15

Open
EXio4 opened this issue Jan 28, 2016 · 0 comments
Open

IRC disconnection might lead to segfault #15

EXio4 opened this issue Jan 28, 2016 · 0 comments
Labels

Comments

@EXio4
Copy link
Owner

EXio4 commented Jan 28, 2016

IRC threads are using pointers in an unsafe way (specially the irc session pointer)

This meaning, an IRC thread might try to write to an invalid IRC session if it was invalidated (e.g. disconnection) in another thread, and it didn't reconnect in time.

A possible solution might be to lock the IRC session on those "critical" sections

@EXio4 EXio4 added the bug label Jan 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant