-
Notifications
You must be signed in to change notification settings - Fork 138
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
Issue 278: Fix crashing in libtest/http.cc when '-Wp,-D_GLIBCXX_ASSERTIONS' is given #281
Conversation
Please restart the following Travis CI jobs: |
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be good to replace &_body[0]
by _body.data()
at least in both if (HAVE_LIBCURL && _body.size())
blocks.
Why would that be better? I don't see it. |
c++ type should be treated with well-defined type methods Line 50 in a6bd168
In my opinion mixing pure c and c++ style is inappropriate. |
Well, that seems to be a separate issue then that should go in a separate PR. |
Would it be OK if I merged this? |
I've no objections |
GMTA @p-alik :) |
This PR fixes the problems in
libtest/http.cc
when you compile with CXXFLAGS=-'-Wp,-D_GLIBCXX_ASSERTIONS' on Fedora 31. Refer to issue #278 (and issue #275).