Skip to content

[oracledbreceiver] Fix for memory leak when using ObfuscateSQLStringWithOptions() in obfuscate library#43096

Merged
dmitryax merged 4 commits into
open-telemetry:mainfrom
sv-splunk:main
Oct 2, 2025
Merged

[oracledbreceiver] Fix for memory leak when using ObfuscateSQLStringWithOptions() in obfuscate library#43096
dmitryax merged 4 commits into
open-telemetry:mainfrom
sv-splunk:main

Conversation

@sv-splunk
Copy link
Copy Markdown
Contributor

@sv-splunk sv-splunk commented Oct 1, 2025

Description

Fix for memory leak when using ObfuscateSQLStringWithOptions() in obfuscate library

Similar fix done in sqlserver receiver: https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/42303/files

Link to tracking issue

Fixes #43074

Reference issue

#42302

Documentation

@sv-splunk sv-splunk marked this pull request as ready for review October 1, 2025 13:14
@sv-splunk sv-splunk requested review from a team, atoulme, crobert-1 and dmitryax as code owners October 1, 2025 13:14
@dmitryax dmitryax changed the title Fix for memory leak when using ObfuscateSQLStringWithOptions() in obfuscate library [oracledbreceiver] Fix for memory leak when using ObfuscateSQLStringWithOptions() in obfuscate library Oct 2, 2025
@dmitryax dmitryax merged commit 7689cc8 into open-telemetry:main Oct 2, 2025
190 checks passed
@github-actions github-actions Bot added this to the next release milestone Oct 2, 2025
@otelbot
Copy link
Copy Markdown
Contributor

otelbot Bot commented Oct 2, 2025

Thank you for your contribution @sv-splunk! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey.

atoulme pushed a commit that referenced this pull request Oct 6, 2025
)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Fix for memory leak when using `ObfuscateSQLStringWithOptions()` in the
obfuscate library

Similar fix done in [SQL Server
receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/42303/files
) and [OracleDB
Receiver](#43096)

<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes #43076

---------

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Co-authored-by: Christos Markou <chrismarkou92@gmail.com>
graphaelli pushed a commit to graphaelli/opentelemetry-collector-contrib that referenced this pull request Oct 6, 2025
…n-telemetry#43115)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Fix for memory leak when using `ObfuscateSQLStringWithOptions()` in the
obfuscate library

Similar fix done in [SQL Server
receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/42303/files
) and [OracleDB
Receiver](open-telemetry#43096)

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes open-telemetry#43076

---------

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Co-authored-by: Christos Markou <chrismarkou92@gmail.com>
mashhurs pushed a commit to mashhurs/opentelemetry-collector-contrib that referenced this pull request Oct 9, 2025
…n-telemetry#43115)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Fix for memory leak when using `ObfuscateSQLStringWithOptions()` in the
obfuscate library

Similar fix done in [SQL Server
receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/42303/files
) and [OracleDB
Receiver](open-telemetry#43096)

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes open-telemetry#43076

---------

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Co-authored-by: Christos Markou <chrismarkou92@gmail.com>
tommyers-elastic pushed a commit to tommyers-elastic/opentelemetry-collector-contrib that referenced this pull request Oct 10, 2025
…n-telemetry#43115)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Fix for memory leak when using `ObfuscateSQLStringWithOptions()` in the
obfuscate library

Similar fix done in [SQL Server
receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/42303/files
) and [OracleDB
Receiver](open-telemetry#43096)

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes open-telemetry#43076

---------

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Co-authored-by: Christos Markou <chrismarkou92@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[receiver/oracledb] Memory leak when using top queries

3 participants