Skip to content

Conversation

cnagune
Copy link

@cnagune cnagune commented Aug 29, 2015

problem

  • if template type is "const char *" in boost::network::uri::detail::decode function,
    segmentation fault can occor.

cause

  • "const char *" type is not throw std::out_of_range

fix

  • check out of range

@deanberris
Copy link
Member

LGTM -- good catch! Thanks @cnagune!

deanberris added a commit that referenced this pull request Sep 11, 2015
fix boost::network::uri::decode error - out of range because of '%'
@deanberris deanberris merged commit 947cc7e into cpp-netlib:0.11-devel Sep 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants