You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying the hello world example with VS2022 and Address Sanitizer. When I request 127:0.0.1:18080 in Edge browser, I get an Asan error.
Its caused by the request for “/favicon.ico” which seems to sometimes have whitespace (\x10 or \x13) at the end.
For some reason this causes qs_parse() in query_string.h to cause an asan error on the calls to strcspn().
I bodged a fix by stripping whitespace from the end of url_ in the query_string constructor. Is this just an artefact of Microsoft’s Asan implementation. Any thought?
The text was updated successfully, but these errors were encountered:
I was trying the hello world example with VS2022 and Address Sanitizer. When I request 127:0.0.1:18080 in Edge browser, I get an Asan error.
Its caused by the request for “/favicon.ico” which seems to sometimes have whitespace (\x10 or \x13) at the end.
For some reason this causes qs_parse() in query_string.h to cause an asan error on the calls to strcspn().
I bodged a fix by stripping whitespace from the end of url_ in the query_string constructor. Is this just an artefact of Microsoft’s Asan implementation. Any thought?
The text was updated successfully, but these errors were encountered: