diff options
author | Michael Adam <obnox@samba.org> | 2012-04-11 15:51:40 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2012-04-25 14:31:11 +0200 |
commit | 22451f7f45c1f692dc9d40af0e6ce82666359390 (patch) | |
tree | f813a407c8869e3b9ce964e511dd641f9b0d71c2 /lib/iniparser_build/iniparser.c | |
parent | 7ea8bd3605adb3a53ca44ebdabfdcdb9c1aeaa18 (diff) | |
download | samba-22451f7f45c1f692dc9d40af0e6ce82666359390.tar.gz samba-22451f7f45c1f692dc9d40af0e6ce82666359390.tar.bz2 samba-22451f7f45c1f692dc9d40af0e6ce82666359390.zip |
s3:registry: fix seqnum race in regdb_fetch_keys_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 'lib/iniparser_build/iniparser.c')
0 files changed, 0 insertions, 0 deletions