Skip to content

fix boost::network::uri::decode error - out of range because of '%' #553

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

Merged
merged 7 commits into from
Sep 11, 2015
Merged

fix boost::network::uri::decode error - out of range because of '%' #553

merged 7 commits into from
Sep 11, 2015

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