s3:vfs properly terminate enums in audit modules
authorChristian Ambach <ambi@samba.org>
Tue, 24 May 2011 15:19:52 +0000 (17:19 +0200)
committerChristian Ambach <ambi@samba.org>
Tue, 24 May 2011 16:29:45 +0000 (18:29 +0200)
commit425ac2c361fc1712c09b52f2cab0988597bf9b7e
treee4a2f5fd8072179f3b205451c42df3975402157a
parent9c3e5380ecabe44796f5d53f8aa9f81642434dd8
s3:vfs properly terminate enums in audit modules

without the proper terminations of the enums, invalid arguments
for the audit modules will lead to a smbd crash as the loop in
lp_enum() will attempt to access memory behind the array
source3/modules/vfs_audit.c
source3/modules/vfs_extd_audit.c
source3/modules/vfs_full_audit.c