1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/testdata/samba3
Michael Hanselmann 601afd6903 regfio: Improve handling of malformed registry hive files
* next_record: A malformed file can lead to an endless loop.
* regfio_rootkey: Supplying a malformed registry hive file to the
  registry hive I/O code can lead to out-of-bounds reads.

Test cases are included. Both issues resolved have been identified using
AddressSanitizer.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13840

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-03-20 05:26:18 +00:00
..
account_policy.tdb
group_mapping.tdb
passdb.tdb
provision_samba3sam_templates.ldif
provision_samba3sam.ldif
regfio_corrupt_hbin1.dat
regfio_corrupt_lf_subkeys.dat
registry.tdb
samba3.ldif
secrets.tdb
share_info.tdb
smb_new.conf
smb.conf
smbpasswd
winbindd_idmap.tdb
wins.dat
wins.dat2