diff options
author | Jeremy Allison <jra@samba.org> | 2013-04-08 16:40:35 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-04-11 09:49:41 -0700 |
commit | cdcb6319127883d724508da3f6140a1e2aca75af (patch) | |
tree | 12c73b62ba2750b543a5a83c718d41930c5fce87 /source3/registry/reg_backend_shares.c | |
parent | 53d980bb0e70e40a07092c07d5fbd59fc8957f49 (diff) | |
download | samba-cdcb6319127883d724508da3f6140a1e2aca75af.tar.gz samba-cdcb6319127883d724508da3f6140a1e2aca75af.tar.bz2 samba-cdcb6319127883d724508da3f6140a1e2aca75af.zip |
Protect open_and_sort_dir() from the directory changing size.
Otherwise there could be an error between initial count, allocation
and re-read.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/registry/reg_backend_shares.c')
0 files changed, 0 insertions, 0 deletions