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

Use snprintf in tests #436

Merged
merged 3 commits into from
Jun 22, 2024
Merged

Use snprintf in tests #436

merged 3 commits into from
Jun 22, 2024

Conversation

bobpaw
Copy link
Collaborator

@bobpaw bobpaw commented Jun 21, 2024

  • I missed some sprintf calls before. I don't see any others (find + grep).
  • These deprecation errors come up with LLVM so others might not notice.

- I missed some sprintf calls before. This should be all of them?
- These deprecation errors come up with LLVM so others might not notice.

Signed-off-by: Aiden Woodruff <woodra@rpi.edu>
- Found two more lingering files with sprintf calls.

Signed-off-by: Aiden Woodruff <woodra@rpi.edu>
@cwsmith cwsmith changed the base branch from master to develop June 21, 2024 20:11
@cwsmith
Copy link
Contributor

cwsmith commented Jun 21, 2024

/runtests

Copy link

Test Result: failure (details)

Copy link
Contributor

@cwsmith cwsmith left a comment

Choose a reason for hiding this comment

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

Thank you for the changes. I may have found one size mismatch.

The failing tests are the same as those listed here: #434

test/viz.cc Outdated Show resolved Hide resolved
Signed-off-by: Aiden Woodruff <woodra@rpi.edu>
@bobpaw bobpaw requested a review from cwsmith June 21, 2024 20:42
@bobpaw bobpaw merged commit 006661e into develop Jun 22, 2024
4 checks passed
flagdanger pushed a commit to flagdanger/core that referenced this pull request Aug 6, 2024
* fix: Replace sprintf with snprintf in tests

- I missed some sprintf calls before. This should be all of them?
- These deprecation errors come up with LLVM so others might not notice.

Signed-off-by: Aiden Woodruff <woodra@rpi.edu>

* fix: Replace sprintf with snprintf

- Found two more lingering files with sprintf calls.

Signed-off-by: Aiden Woodruff <woodra@rpi.edu>

* Fix one snprintf size

Signed-off-by: Aiden Woodruff <woodra@rpi.edu>

---------

Signed-off-by: Aiden Woodruff <woodra@rpi.edu>
@bobpaw bobpaw deleted the apw/snprintf branch September 24, 2024 16:29
@cwsmith cwsmith added the v2.2.9 label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants