canonical / dqlite

Embeddable, replicated and fault-tolerant SQL engine.
https://dqlite.io
Other
3.85k stars 216 forks source link

Fix use-after-free in threadpool code #606

Closed cole-miller closed 7 months ago

cole-miller commented 7 months ago

Pointed out by GCC on one of the LP builders.

Signed-off-by: Cole Miller cole.miller@canonical.com

codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 81.17%. Comparing base (6134a79) to head (6a24f18). Report is 7 commits behind head on master.

Files Patch % Lines
src/lib/threadpool.c 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #606 +/- ## ========================================== + Coverage 81.16% 81.17% +0.01% ========================================== Files 189 191 +2 Lines 26742 27033 +291 Branches 4859 4928 +69 ========================================== + Hits 21704 21944 +240 + Misses 3455 3451 -4 - Partials 1583 1638 +55 ```

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