apache / celix

Apache Celix is a framework for C and C++14 to develop dynamic modular software applications using component and in-process service-oriented programming.
https://celix.apache.org/
Apache License 2.0
158 stars 84 forks source link

[CID 335557]Fix use-after-free in http_admin #713

Closed PengZheng closed 6 months ago

PengZheng commented 6 months ago

This PR fixes a newly reported coverity issue in http_admin.

codecov-commenter commented 6 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (ab7b7af) 88.33% compared to head (9a5602f) 88.35%.

Files Patch % Lines
...undles/http_admin/http_admin/src/websocket_admin.c 66.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #713 +/- ## ========================================== + Coverage 88.33% 88.35% +0.01% ========================================== Files 215 215 Lines 24500 24500 ========================================== + Hits 21643 21646 +3 + Misses 2857 2854 -3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.