1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/registry
Michael Adam aa8c9ef138 s3:registry: fix invalid write in iconvert_talloc()
For a non-preallocated dest-string and sourcestring of len < 2,
(one or both of the) final two two zero-bytes would be written
after the end of the allocated dest-string. The sourcelen did
not include the source string terminator. For longer strings,
this was not a problem because the dest-string would have been
reallocated in the convert-loop. This is fixed now by allocating
two extra bytes for the terminating 0-bytes that are needed anyways
in the initial allocation.

Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-03-05 01:31:33 +01:00
..
reg_api_regf.c s3: Fix bug 7470 2010-09-25 10:59:15 -07:00
reg_api_regf.h s3:registry: move reg_api_regf prototypes to their own header file. 2010-09-21 08:52:06 +02:00
reg_api_util.c s3:registry: move the reg_api prototypes to their own header. 2010-09-21 08:52:06 +02:00
reg_api_util.h s3:registry: move prototypes of unused hilvl functions to ret_api_util.h and comment them out 2010-09-20 19:58:01 +02:00
reg_api.c s3-amend: Don't overwrite existing values 2011-02-15 19:11:25 +01:00
reg_api.h s3:registry: remove unneeded TALLOC_CTX argument from reg_deletekey_recursive 2010-09-22 06:30:01 +02:00
reg_backend_current_version.c
reg_backend_db.c s3:registry: fix comments in regdb_store_regdb_version() 2011-01-27 21:43:48 +01:00
reg_backend_db.h
reg_backend_hkpt_params.c
reg_backend_netlogon_params.c
reg_backend_perflib.c
reg_backend_printing.c
reg_backend_prod_options.c
reg_backend_shares.c
reg_backend_smbconf.c Revert "Wrap security_token_has_privilege() with a check for lp_enable_privileges(). Needed" 2010-10-22 23:41:36 +00:00
reg_backend_tcpip_params.c
reg_cachehook.c
reg_cachehook.h
reg_db.h s3:registry: move the reg_db.h from include/ to registry/ 2010-09-21 08:53:49 +02:00
reg_dispatcher.c libcli/security Provide a common, top level libcli/security/security.h 2010-10-12 05:54:10 +00:00
reg_dispatcher.h s3-auth Change struct nt_user_token -> struct security_token 2010-09-11 18:46:05 +10:00
reg_format.c s3-registry: fix some c++ build warnings. 2010-09-22 12:57:34 -07:00
reg_format.h s3-registry: handle registration entries (.reg) files 2010-09-22 06:30:00 +02:00
reg_import.c s3-registry: handle registration entries (.reg) files 2010-09-22 06:30:00 +02:00
reg_import.h s3-registry: handle registration entries (.reg) files 2010-09-22 06:30:00 +02:00
reg_init_basic.c s3:registry: move prototypes from reg_init_basic.c to their own header. 2010-09-21 08:52:06 +02:00
reg_init_basic.h s3:registry: move prototypes from reg_init_basic.c to their own header. 2010-09-21 08:52:06 +02:00
reg_init_full.c s3-perfcount: Create the directory on tdb open. 2011-02-07 12:32:02 +01:00
reg_init_full.h s3:registry: move prototype from reg_init_full.c to its own header. 2010-09-21 08:52:06 +02:00
reg_init_smbconf.c s3:registry: move prototype from reg_init_smbconf.c to its own header. 2010-09-21 08:52:06 +02:00
reg_init_smbconf.h s3:registry: move prototype from reg_init_smbconf.c to its own header. 2010-09-21 08:52:06 +02:00
reg_objects.c s3-build: use dbwrap.h only where needed. 2010-08-26 00:25:55 +02:00
reg_objects.h
reg_parse_dox.cfg s3-registry: handle registration entries (.reg) files 2010-09-22 06:30:00 +02:00
reg_parse_internal.c s3:registry: fix invalid write in iconvert_talloc() 2011-03-05 01:31:33 +01:00
reg_parse_internal.h s3:registry: proposed aix build fix for reg_parse_internal 2010-09-27 11:36:49 +02:00
reg_parse_prs.c s3-dcerpc: only include rpc_dce.h where needed. 2010-08-26 00:20:29 +02:00
reg_parse_prs.h
reg_parse.c s3:registry correct a debug level 2011-01-21 10:10:03 +01:00
reg_parse.h s3-registry: handle registration entries (.reg) files 2010-09-22 06:30:00 +02:00
reg_perfcount.c s3-perfcount: Create the directory on tdb open. 2011-02-07 12:32:02 +01:00
reg_perfcount.h s3-perfcount: Create the directory on tdb open. 2011-02-07 12:32:02 +01:00
reg_util_internal.c
reg_util_internal.h
reg_util_token.c libcli/security Provide a common, top level libcli/security/security.h 2010-10-12 05:54:10 +00:00
reg_util_token.h s3:auth Remove NT_USER_TOKEN 2010-09-11 18:46:06 +10:00
regfio.c s3: Remove superfluous ; 2011-02-02 15:44:21 +01:00
regfio.h s3:registry: move regio.h from include/ to registry/ 2010-09-21 09:08:33 +02:00