diff options
author | Volker Lendecke <vl@samba.org> | 2013-08-30 12:49:43 +0000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-09-03 17:13:53 +0200 |
commit | 7d91ffc6fdc3b371564e14f09822a96264ea372a (patch) | |
tree | 7c2534a2c851707e26b66010dfee9b9fc7590d29 /README.packaging4 | |
parent | 5006db98aaf1efe119f1da8be091587a9bc2b952 (diff) | |
download | samba-7d91ffc6fdc3b371564e14f09822a96264ea372a.tar.gz samba-7d91ffc6fdc3b371564e14f09822a96264ea372a.tar.bz2 samba-7d91ffc6fdc3b371564e14f09822a96264ea372a.zip |
smbd: Fix flawed share_mode_stale_pid API
The comment for this routine said:
> Modifies d->num_share_modes, watch out in routines iterating over
> that array.
Well, it turns out that *every* caller of this API got it wrong. So I
think it's better to change the routine.
This leaves the array untouched while iterating but filters out the
deleted ones while saving them back to disk.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'README.packaging4')
0 files changed, 0 insertions, 0 deletions