Skip to content
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
wants to merge 321 commits into from

Conversation

zeroinside
Copy link

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)

glynos and others added 30 commits July 4, 2013 17:56
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
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
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})
deanberris and others added 29 commits November 11, 2014 11:57
Allowed IPv6 connections by fixing the resolver
Fix some packaging issues on 0.11 devel
Peer verification using OpenSSL environment variables
0.11 devel- GCC compilation warnings fixed
catch exceptions in handle_read_data() (fixes #497)
@zeroinside zeroinside closed this Mar 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet