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

Fix overflow if dropStr is large #1654

Merged
merged 7 commits into from
Mar 7, 2023

Conversation

onurtore
Copy link
Contributor

🦟 Bug fix

Fixes gazebosim/gz-common#393

Summary

Large mesh file names creates ugly error message due to overflow. This commit fixes this.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

@onurtore onurtore changed the title Otore19/add new line2 Fix overflow if dropStr is large Aug 17, 2022
@chapulina chapulina added the bug Something isn't working label Aug 17, 2022
@chapulina
Copy link
Contributor

You may want to target this at the gz-sim7 branch, so that the fix goes into the initial Garden release

@onurtore
Copy link
Contributor Author

You may want to target this at the gz-sim7 branch, so that the fix goes into the initial Garden release

Do I have to create new PR for that?

@ahcorde ahcorde changed the base branch from main to gz-sim7 August 17, 2022 17:28
@ahcorde
Copy link
Contributor

ahcorde commented Aug 17, 2022

You may want to target this at the gz-sim7 branch, so that the fix goes into the initial Garden release

Do I have to create new PR for that?

I already did it, you should:

git rebase -i HEAD~2
# remove line *Bump main to 8.0.0~pre1 *
# save and exit
git push -f origin otore19/addNewLine2

Onur Berk Tore added 2 commits August 17, 2022 20:50
Large mesh file names creates ugly error message
by overflow. This commit fixes this.

Signed-off-by: Onur Berk Tore <[email protected]>
Onur Berk Tore added 3 commits August 18, 2022 09:17
Signed-off-by: Onur Berk Tore <[email protected]>
Signed-off-by: Onur Berk Tore <[email protected]>
Copy link
Contributor

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please resolve the conflicts

@chapulina chapulina added the 🌱 garden Ignition Garden label Sep 1, 2022
@azeey azeey requested a review from mjcarroll as a code owner March 7, 2023 21:46
Signed-off-by: Addisu Z. Taddese <[email protected]>
Copy link
Contributor

@azeey azeey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've resolved the conflict and made a small change. I've also tested the code on godbolt . LGTM!

@azeey azeey dismissed ahcorde’s stale review March 7, 2023 21:57

conflict resolved

@azeey
Copy link
Contributor

azeey commented Mar 7, 2023

Homebrew failures don't seem to be related to this PR. Merging.

@azeey azeey merged commit 3b8ccd6 into gazebosim:gz-sim7 Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🌱 garden Ignition Garden
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants