summaryrefslogtreecommitdiff
path: root/src/lib/tests/tpm_test.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2026-02-21 12:17:42 +0100
committerSander Vrijders <sander@ouroboros.rocks>2026-02-22 16:04:31 +0100
commit562548ac5342ee7ce35e41569acf9e67be6f878b (patch)
tree4d37ac404d4ccca02066e0631b1485b77bab49eb /src/lib/tests/tpm_test.c
parent32ec0a2f34a530271a1e5ccf9c64436bd18cd420 (diff)
downloadouroboros-562548ac5342ee7ce35e41569acf9e67be6f878b.tar.gz
ouroboros-562548ac5342ee7ce35e41569acf9e67be6f878b.zip
lib: Fix ssm pool double free
Remove double-free in ssm_pool_destroy — ssm_pool_close already frees the pool. The pool sharding test had a free spbs/ptrs on partial malloc failure. Now initializes children array to -1 to prevent reading uninitialized values. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/tests/tpm_test.c')
0 files changed, 0 insertions, 0 deletions