1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/librpc
Volker Lendecke 7d91ffc6fd 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>
2013-09-03 17:13:53 +02:00
..
crypto auth/gensec: introduce gensec_internal.h 2013-08-10 09:19:02 +02:00
gen_ndr waf-idl: put the gen_ndr/README file for source3 back 2010-07-19 22:17:17 +10:00
idl smbd: Fix flawed share_mode_stale_pid API 2013-09-03 17:13:53 +02:00
rpc s3:dcerpc_helpers: remove unused DEBUG message of schannel_state->seq_num. 2013-08-10 09:18:58 +02:00
wscript_build s3:librpc: add smbXsrv.idl 2012-06-25 20:55:05 +02:00