Bug 16200 - generate_unique_u64() may not protect against veto_value
Summary: generate_unique_u64() may not protect against veto_value
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other (show other bugs)
Version: 4.24.4
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Stefan Metzmacher
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-08-05 20:06 UTC by Stefan Metzmacher
Modified: 2026-08-11 06:46 UTC (History)
1 user (show)

See Also:


Attachments
Patch for v4-24-test (1.12 KB, text/plain)
2026-08-11 06:45 UTC, Stefan Metzmacher
metze: review? (slow)
Details
Patch for v4-23-test (1.12 KB, text/plain)
2026-08-11 06:46 UTC, Stefan Metzmacher
metze: review? (slow)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Metzmacher 2026-08-05 20:06:24 UTC
generate_unique_u64() only checked for a veto_value before incrementing the
next_value...
Comment 1 Samba QA Contact 2026-08-06 15:27:28 UTC
This bug was referenced in samba master:

89968416949541e547bc1eb7605b8f3e5f893e0b
Comment 2 Stefan Metzmacher 2026-08-11 06:45:49 UTC
Created attachment 19161 [details]
Patch for v4-24-test
Comment 3 Stefan Metzmacher 2026-08-11 06:46:09 UTC
Created attachment 19162 [details]
Patch for v4-23-test