1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/locking
Volker Lendecke 8f411425f6 smbd: Properly protect against invalid lock data
If someone messes with brlock.tdb and inserts an invalid record length,
this will lead to memcpy overwriting a few bytes behind malloc'ed data.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Sep 12 03:26:45 CEST 2013 on sn-devel-104
2013-09-12 03:26:45 +02:00
..
brlock.c smbd: Properly protect against invalid lock data 2013-09-12 03:26:45 +02:00
locking.c smbd: Fix a typo 2013-09-11 08:27:11 +02:00
posix.c s3: Remove reduce_windows_lock_ref_count, used only once 2012-06-22 15:16:51 +02:00
proto.h smbd: Add brl_fsp access function 2013-09-11 08:27:11 +02:00
share_mode_lock.c smbd: Fix flawed share_mode_stale_pid API 2013-09-03 17:13:53 +02:00