fix(cdb): correct crypt-buffer ownership slot types #1027
Reference in New Issue
Block a user
Delete Branch "agent/bittle/cdb-buffer-review"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source ownership contract
CDBRecord already declares and calls CDBCryptBufAllocate/Free with pointer slots. Correct the definitions from CDBCryptBuf* to CDBCryptBuf**, replacing encoded-pointer reads/writes through buffer32[0] with direct typed slot operations. Allocation state and error behavior are unchanged.
Independent parent verification
CDBRecord.cryptBuf remains void* with its existing caller casts; that separate shared-header typing is outside this patch. This fixes the definitions' ownership-slot contract, not every cross-unit type. No percentage gain, new matching claim, ABI layout, linking or configuration changes.
Base:
20ba34a80fTested tree:
3b9282328bDOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d
No merge performed or requested by this author.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.