summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_nss.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-04-11 15:48:02 +0200
committerAndreas Schneider <asn@samba.org>2012-04-25 14:31:11 +0200
commit7ea8bd3605adb3a53ca44ebdabfdcdb9c1aeaa18 (patch)
treef2391dbe4b5a8f19a42d9c8635a59f3cb25a4f95 /source3/winbindd/idmap_nss.c
parentab83005b30c621230db674faa1d123f44c9122e7 (diff)
downloadsamba-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/idmap_nss.c')
0 files changed, 0 insertions, 0 deletions