diff options
author | Michael Adam <obnox@samba.org> | 2012-04-11 15:48:02 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2012-04-25 14:31:11 +0200 |
commit | 7ea8bd3605adb3a53ca44ebdabfdcdb9c1aeaa18 (patch) | |
tree | f2391dbe4b5a8f19a42d9c8635a59f3cb25a4f95 /source3/winbindd/winbindd_setpwent.c | |
parent | ab83005b30c621230db674faa1d123f44c9122e7 (diff) | |
download | samba-7ea8bd3605adb3a53ca44ebdabfdcdb9c1aeaa18.tar.gz samba-7ea8bd3605adb3a53ca44ebdabfdcdb9c1aeaa18.tar.bz2 samba-7ea8bd3605adb3a53ca44ebdabfdcdb9c1aeaa18.zip |
s3:registry: fix seqnum race in fetch_values_internal
This prevents race between fetching seqnum and key content.
Because there is currently no way to atomically fetch the
record along with the seqnum, I use a loop.
This is far from optimal and should should ideally be done
differently. But for now it fixes the race.
Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_setpwent.c')
0 files changed, 0 insertions, 0 deletions