alpha
Login
or
Join now
jmrp.io
/
kleidos
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/jmrplens/kleidos. Kleidos — Hardware BLE password manager for ESP32-S3 (M5StickC Plus2, StickS3, M5Stack Gray, T-Deck, Cardputer)
jmrplens.github.io/kleidos/
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
kleidos
/
test
/
vault
/
test_secure_allocator_overflow
/
at
main
1 file
José M. Requena Plens
test(vault): fix the T4 wipe de-flake to survive glibc bulk-free (Linux CI)
18d ago
fec62ac9
test_secure_allocator_overflow.cpp
test(vault): fix the T4 wipe de-flake to survive glibc bulk-free (Linux CI) The first de-flake of test_all_tracked_blocks_zeroed_on_deallocation still failed on Linux CI (Expected 0x00 Was 0xA0): it freed all 2000 blocks and then re-acquired them, but glibc consolidates a bulk of freed chunks and writes bin metadata (fd/bk pointers — the 0xA0 low byte) beyond the first 16 bytes, into the payload tail the test inspects. The wipe had run (no 0xCC survived), yet the allocator's own bookkeeping tripped the assertion. Switch to the single-block pattern already proven on this CI by test_vault_backup_zeroize: free one block and re-acquire the same size immediately, so the tcache returns that exact chunk with only its 16-byte link disturbed and the tail still zeroed. Loop the cycle kLargeCount times — each cycle returns the heap to the same state, exercising the wipe and the record()/forget() table churn without the bulk-free metadata hazard. Claude-Session: https://claude.ai/code/session_01SV58JXhfxhhc9DC6vdjBo4
2 weeks ago