Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/23034 )

Change subject: Suppress indirect OpenSSL initialization leak reported by ASan 
on Rocky 9
......................................................................

Suppress indirect OpenSSL initialization leak reported by ASan on Rocky 9

On Rocky Linux 9, the default OpenSSL version is 3.x, which performs
implicit provider and configuration initialization during the first call
to OPENSSL_init_ssl(). This process allocates internal strings using
CRYPTO_strdup() (e.g., provider parameters), which are retained globally
for the lifetime of the process.

ASan reports these as indirect memory leaks at exit, but they are
considered acceptable and intentional by the OpenSSL project. As such,
this commit adds a suppression rule for CRYPTO_strdup() to avoid false
positives in leak reports.

No functional impact; this is a tooling adjustment to clean up ASan output.

Change-Id: I746c52b1856e73fa347906ebdc61a24d37d88670
Reviewed-on: http://gerrit.cloudera.org:8080/23034
Tested-by: Alexey Serbin <[email protected]>
Reviewed-by: Alexey Serbin <[email protected]>
---
M src/kudu/util/sanitizer_options.cc
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Alexey Serbin: Looks good to me, approved; Verified

--
To view, visit http://gerrit.cloudera.org:8080/23034
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I746c52b1856e73fa347906ebdc61a24d37d88670
Gerrit-Change-Number: 23034
Gerrit-PatchSet: 2
Gerrit-Owner: KeDeng <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to