Bug 13036 - ctdb-client: Initialize ctdb_ltdb_header completely for empty record
ctdb-client: Initialize ctdb_ltdb_header completely for empty record
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: CTDB
4.7.0rc5
All All
: P5 normal
: ---
Assigned To: Amitay Isaacs
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-16 06:54 UTC by Stefan Metzmacher
Modified: 2017-09-17 16:54 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Metzmacher 2017-09-16 06:54:51 UTC
ctdb_ltdb_fetch() only fills in relevant portion of ctdb_ltdb_header
if the record does not exist.  This can result in uninitialized writes
to ctdb_rec_buffer.
Comment 1 Stefan Metzmacher 2017-09-17 16:54:47 UTC
Pushed to v4-{6,7}-test with review from slow@samba.org