-
Notifications
You must be signed in to change notification settings - Fork 10
Tidy sanitizers' suppressions list and fix some mem leaks #438
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
base: TDE_REL_17_STABLE
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## TDE_REL_17_STABLE #438 +/- ##
====================================================
Coverage ? 84.73%
====================================================
Files ? 21
Lines ? 2634
Branches ? 413
====================================================
Hits ? 2232
Misses ? 321
Partials ? 81
🚀 New features to boost your workflow:
|
3c5511d
to
e8c9ac0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not have an opinion about the main patch yet but saw two things.
Tihs PR makes a suppression list as specific as possible, so it won't cover up new issues. And adds comments to existing suppressions. Also, fixes memory leaks in pg_tde code (all related to frontend usage).
@@ -562,6 +562,51 @@ check_provider_record(KeyringProviderRecord *provider_record) | |||
|
|||
#endif /* !FRONTEND */ | |||
|
|||
void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to decide whether we like the "register key provider" stuff. If we do then each key provider type needs to be responsible for how to free their own specific version of GenericKeyring.
If we don't, we need to remove it.
Doing it both ways is just messy. I know this function wouldn't be the only place that ignores the register key provider functionality, but we need to make a decision whether we want to keep it or not before adding more code that ignores it imho.
Tihs PR makes a suppression list as specific as possible, so it won't cover up new issues. And adds comments to existing suppressions. Also, fixes memory leaks in bin/pgctl code (all related to frontend usage) and low-hanging fruits in pgctl.