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
when use Exiv2::Uri::Parse(url) to parse url, if use malformed url, it will crash.
It's a very low security level crash, you can decide to fix it or not.
To Reproduce
edit samples/conntest.cpp as follow, then compile latest commit exiv2
@xinali: you forgot to attach your test file, crashes/024b8d41af3621fe50cf5c840bad9bd3.
But I guess it contains a url like this: "http://example.com?xx/yyy"
If the ? comes before the / then pathStart > queryStart on line 465, which causes a std::length_error exception to be thrown.
Describe the bug
when use
Exiv2::Uri::Parse(url)
to parse url, if use malformed url, it will crash.It's a very low security level crash, you can decide to fix it or not.
To Reproduce
edit
samples/conntest.cpp
as follow, then compile latest commit exiv2Expected behavior
Crash
Desktop (please complete the following information):
Additional context
It's not a important issue, if you do not decide to fix it, you can ignore it.
The text was updated successfully, but these errors were encountered: