Skip to content

Fix %lu; Replace bare assert calls & dynamic mem calls with macro#63

Merged
jeronstone merged 12 commits into
mainfrom
stone-issue-38
Aug 14, 2025
Merged

Fix %lu; Replace bare assert calls & dynamic mem calls with macro#63
jeronstone merged 12 commits into
mainfrom
stone-issue-38

Conversation

@jeronstone
Copy link
Copy Markdown
Contributor

@jeronstone jeronstone commented Aug 14, 2025

Closes #38

Question for @BrianSipos , should asserts be removed from mock-bpa as well, or is it OK to keep them there for now?

@jeronstone jeronstone requested a review from a team as a code owner August 14, 2025 01:55
@jeronstone jeronstone self-assigned this Aug 14, 2025
@jeronstone jeronstone added the bug Something isn't working label Aug 14, 2025
@github-project-automation github-project-automation Bot moved this to Todo in BSL Aug 14, 2025
@jeronstone jeronstone added this to the BSL v1.0.0 milestone Aug 14, 2025
@jeronstone jeronstone added the CRIT-1 Defect makes the software unusable for mission operations. label Aug 14, 2025
Copy link
Copy Markdown
Collaborator

@BrianSipos BrianSipos left a comment

Choose a reason for hiding this comment

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

These are really good portability updates. Adding to main CMakeLists a -Wformat may go a long way to avoiding these also.

There should not be bare assert() anywhere in the source tree.

Comment thread src/backend/AbsSecBlock.c Outdated
Comment thread src/backend/AbsSecBlock.c
Comment thread src/backend/AbsSecBlock.c Outdated
Comment thread src/security_context/BIB_HMAC_SHA2.c
Comment thread test/test_PublicInterfaceImpl.c Outdated
@jeronstone jeronstone merged commit 87c3532 into main Aug 14, 2025
12 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in BSL Aug 14, 2025
@jeronstone jeronstone deleted the stone-issue-38 branch August 14, 2025 17:21
@jeronstone jeronstone linked an issue Aug 15, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working CRIT-1 Defect makes the software unusable for mission operations.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Uses of bare malloc, calloc, free instead of BSL_ macros Replace format "%lu" with platform-independent PRIu64

2 participants