-
Notifications
You must be signed in to change notification settings - Fork 96
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
UB in static variables initialization #41
Comments
Hi, |
Yeah, I also changed it to static linking + openssl static linking. Might have caused problems as well |
Yes, the static linking seems to manifest the issue. The dynamic one does not suffer so far, but it has to be fixed anyway. Commits before |
@astepanov83 Please check the latest commit, it works for me in both static and dynamic linking. |
codec::CRLF
is initialized in codec.cppmime::END_OF_LINE
is initialized in mime.cpp and depends oncodec::CRLF
I exactly ran into a situation where
CRLF
was \r\n, butEND_OF_LINE
was emptyThe text was updated successfully, but these errors were encountered: