Skip to content

Conversation

@GregThain
Copy link
Contributor

I've found a couple of memory leaks in scitokens-cpp by compiling with the address sanitizer on, and running the unit tests. Let's do this in CI, so that we catch any new problems in the future.

GregThain and others added 7 commits April 27, 2025 10:14
with the address sanitizer.  Also enable this in CI, so that
tests fail if they hit a memory leak or other memory problem.
downloaded from https://github.com/Thalhammer/jwt-cpp/releases/tag/v0.7.1

jwt-cpp 0.7.1 removes the "get_payload_claims" method, and replaces
it with "get_payload_json", which returns a json document, not a map.

More importantly for us, jwt-cpp 0.7.1 also fixes warnings about deprecated
wstring uses, so we can be warning-clean on g++ 15.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Not mission critical, but keeps valgrind/asan output clean
@djw8605
Copy link
Contributor

djw8605 commented Apr 28, 2025

I messed up git, so moving this over to #154

@djw8605 djw8605 closed this Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants