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 85 forks source link

#647: Fix use-after-free in celix_framework_scheduleEvent. #683

Closed PengZheng closed 8 months ago

PengZheng commented 8 months ago

I really should have fixed this before 2.4.0 release when reporting #647.

@pnoltes This needs to be backported to support/2.4

codecov-commenter commented 8 months ago

Codecov Report

Merging #683 (709228b) into master (046e52a) will decrease coverage by 0.01%. The diff coverage is 100.00%.

:exclamation: Current head 709228b differs from pull request most recent head e98a6ec. Consider uploading reports for the commit e98a6ec to get more accurate results

@@            Coverage Diff             @@
##           master     #683      +/-   ##
==========================================
- Coverage   81.67%   81.66%   -0.01%     
==========================================
  Files         252      252              
  Lines       32602    32603       +1     
==========================================
- Hits        26627    26626       -1     
- Misses       5975     5977       +2     
Files Coverage Δ
libs/framework/src/framework.c 85.00% <100.00%> (+<0.01%) :arrow_up:

... and 2 files with indirect coverage changes

:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!