tpm2-pkcs11 icon indicating copy to clipboard operation
tpm2-pkcs11 copied to clipboard

Fix possible NULL pointer dereference.

Open vitek opened this issue 3 months ago • 2 comments

This caused SEGFAULT when moving sql3 db from 1.7 to 1.9. With this fix I've managed to use old db successfully.

vitek avatar Mar 16 '24 19:03 vitek

Codecov Report

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

Project coverage is 72.41%. Comparing base (1b3aab9) to head (c8bb90e). Report is 1 commits behind head on master.

Files Patch % Lines
src/lib/db.c 0.00% 5 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #858      +/-   ##
==========================================
- Coverage   72.43%   72.41%   -0.02%     
==========================================
  Files          34       34              
  Lines        9773     9775       +2     
==========================================
  Hits         7079     7079              
- Misses       2694     2696       +2     

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

codecov[bot] avatar Mar 16 '24 19:03 codecov[bot]

So overall the diff is fine, but you need to squash your two commits into one and improve the commit message and add Fixes: #845 and don't forget to signoff on your commit. Thanks!

So overall the diff is fine, but you need to squash your two commits into one and improve the commit message and add Fixes: #845 and don't forget to signoff on your commit. Thanks!

done

vitek avatar Mar 26 '24 06:03 vitek