Skip to content
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

Fix asan leak on fork in PHP 8.2 buster container #2608

Merged
merged 2 commits into from
Apr 5, 2024
Merged

Conversation

bwoebi
Copy link
Collaborator

@bwoebi bwoebi commented Apr 3, 2024

Description

Works around php/php-src#12298 and the related memory leaks. This is necessary with the relatively old version of glibc we are building against.

The patch with free() is also specific to the glibc the buster container uses.

Reviewer checklist

  • Test coverage seems ok.
  • Appropriate labels assigned.

Works around php/php-src#12298 and the related memory leaks.
This is necessary with the relatively old version of glibc we are building against.

Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
@bwoebi bwoebi requested a review from a team as a code owner April 3, 2024 12:07
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
@codecov-commenter
Copy link

codecov-commenter commented Apr 3, 2024

Codecov Report

Merging #2608 (359d3bb) into master (dc920e6) will decrease coverage by 11.09%.
Report is 4 commits behind head on master.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##             master    #2608       +/-   ##
=============================================
- Coverage     75.47%   64.39%   -11.09%     
  Complexity     2607     2607               
=============================================
  Files           243      217       -26     
  Lines         27317    23318     -3999     
  Branches        985        0      -985     
=============================================
- Hits          20618    15015     -5603     
- Misses         6174     8303     +2129     
+ Partials        525        0      -525     
Flag Coverage Δ
appsec-extension ?
tracer-extension 78.70% <ø> (ø)
tracer-php 46.83% <ø> (-27.15%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 46 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dc920e6...359d3bb. Read the comment docs.

@bwoebi bwoebi merged commit c067f72 into master Apr 5, 2024
554 of 556 checks passed
@bwoebi bwoebi deleted the bob/fix-asan-leak branch April 5, 2024 16:02
@github-actions github-actions bot added this to the 0.100.0 milestone Apr 5, 2024
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.

3 participants