-
Notifications
You must be signed in to change notification settings - Fork 160
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 possible crash in dd_patched_zend_call_known_function #2548
Conversation
Fixes #2547. Signed-off-by: Bob Weinand <[email protected]>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #2548 +/- ##
============================================
- Coverage 76.55% 76.54% -0.01%
Complexity 267 267
============================================
Files 138 138
Lines 17457 17458 +1
Branches 976 976
============================================
Hits 13364 13364
- Misses 3573 3574 +1
Partials 520 520
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
BenchmarksBenchmark execution time: 2024-03-02 00:07:00 Comparing candidate commit 5d9dea7 in PR branch Found 0 performance improvements and 1 performance regressions! Performance is the same for 181 metrics, 0 unstable metrics. scenario:TraceSerializationBench/benchSerializeTrace
|
Is this easily reproducible/Can we easily do a regression for this crash? |
Yes, it's easily reproducible. But it's a 8.1.2 specific change... |
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.
Null pointers, man 🤦🏻♂️
8c97770
to
adc8854
Compare
Signed-off-by: Bob Weinand <[email protected]>
adc8854
to
7153c25
Compare
Signed-off-by: Bob Weinand <[email protected]>
7153c25
to
c1eb746
Compare
Signed-off-by: Bob Weinand <[email protected]>
74a41f0
to
5d9dea7
Compare
* Fix possible crash in dd_patched_zend_call_known_function Fixes #2547. Signed-off-by: Bob Weinand <[email protected]> * Test extension for 8.1.2 Signed-off-by: Bob Weinand <[email protected]> * Fix possible segfault when removing hooks Signed-off-by: Bob Weinand <[email protected]> --------- Signed-off-by: Bob Weinand <[email protected]>
@rokclimb15 Yes, that issue should actually be fixed :-) And note that 0.98.1 has been released now with this fix too. |
Description
Fixes #2547.
Null-checks can be sometimes important.
Reviewer checklist