This repository has been archived by the owner on Apr 2, 2020. It is now read-only.
Memory Corruption in boost::network::uri::decode while parsing multiple "%" characters #16
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Support Boost dynamic linking tests.
- copy test data to build directory instead of assuming in-place build
This commit does the following things: - Add overloads to the HTTP Client implementation that takes a generator callback to generate chunks of the POST or PUT requests. - Fixes #245 which happens when a resolution error occurs, which leaks futures and potentially threads associated with futures. - Formats the files touched using clang-format in Google's style. Unfortunately the API cannot be tested without starting a POST/PUT capable server. A future commit should add an end-to-end test that uses the HTTP server implementation and the HTTP client implementation to verify end-to-end correctness.
… master branch (CPP-NETLIB_BUILD_SHARED_LIBS).
add CMake definitions to build and install shared libraries and headers
Appease Clang
Fix MIME linkage test for dynamic libraries.
Proper fix for MIME roundtrip test failures in dynamic build mode.
directly use GNU install dirs rather than hard-coding matching ones
…nchmarking tool and conclusion
… characters becomes private
Initial version of base64 encoding
Declare the BASE64 alphabet as array of chars; not as a pointer
This will enabled other CMake-based projects to find an installed version of cpp-netlib via find_package(cppnetlib [[VERSION] 0.10.1] [REQUIRED]) To link to the installed cppnetlib version projects want to use include_directories(${CPPNETLIB_INCLUDE_DIRS}) target_link_library(myTarget ${CPPNETLIB_LIBRARIES})
Fixed compilation warnings.
Update async_connection.hpp
Allowed IPv6 connections by fixing the resolver
…rdcoded "lib" for cmake package files
Fix some packaging issues on 0.11 devel
Peer verification using OpenSSL environment variables
0.11 devel- GCC compilation warnings fixed
0.11 devel
catch exceptions in handle_read_data() (fixes #497)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Function boost::network::uri::decode from boost/network/uri/decode.hpp should check the "it" variable, each time when its pointer is incremented.
It should be check if it is not null, to avoid out-of-bound read from null pointer (end of string)