Skip to content
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

Check that the string isn't empty #1820

Merged
merged 2 commits into from
Aug 1, 2021

Conversation

kevinbackhouse
Copy link
Collaborator

Fixes: #1819

There were a couple of places where we checked that string wasn't empty, but then removed another character, thereby sometimes making the string empty again.

The output of test_issue_ghsa_v5g7_46xf_h728.py changed because I removed this check and made it safe in a different way.

@kevinbackhouse kevinbackhouse added bug forward-to-main Forward changes in a 0.28.x PR to main with Mergify labels Jul 31, 2021
@kevinbackhouse kevinbackhouse added this to the v0.27.5 milestone Jul 31, 2021
@kevinbackhouse kevinbackhouse linked an issue Jul 31, 2021 that may be closed by this pull request
src/value.cpp Show resolved Hide resolved
src/value.cpp Show resolved Hide resolved
src/value.cpp Show resolved Hide resolved
src/value.cpp Show resolved Hide resolved
@kevinbackhouse kevinbackhouse merged commit b364b1d into Exiv2:0.27-maintenance Aug 1, 2021
kevinbackhouse added a commit that referenced this pull request Aug 2, 2021
Check that the string isn't empty (backport #1820)
@clanmills clanmills mentioned this pull request Aug 9, 2021
@kevinbackhouse kevinbackhouse deleted the FixIssue1819 branch August 11, 2021 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug forward-to-main Forward changes in a 0.28.x PR to main with Mergify
Projects
None yet
Development

Successfully merging this pull request may close these issues.

assertion failure due to empty string in XmpTextValue::read()
2 participants