summaryrefslogtreecommitdiff
path: root/source4/lib/registry/local.c
AgeCommit message (Collapse)AuthorFilesLines
2013-08-19registry4: Fix CID 1034911 Dereference before null checkVolker Lendecke1-1/+1
curbegin is always != NULL here (curend + 1) and is dereferenced by strchr. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-08-19registry4: Fix CID 1034911 Dereference before null checkVolker Lendecke1-1/+1
curbegin is always != NULL here (curend + 1) and is dereferenced by strchr. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-03-05s4-libregistry: Fix path check and improve while loops.Andreas Schneider1-6/+6
Reviewed-by: David Disseldorp <ddiss@samba.org>
2010-07-01s4:registry - move some common constraint checks to the "local" backendMatthias Dieter Wallnöfer1-0/+24
They should also be enforced when we don't use "ldb".
2010-07-01s4:lib/registry/local.c - support recursive key generationMatthias Dieter Wallnöfer1-40/+53
Code taken from "local_open_key".
2010-03-22s4:registry - "reg_import_hive_key" - change a "talloc_steal" into a ↵Matthias Dieter Wallnöfer1-1/+1
"talloc_reference" Use a "talloc_reference" since the "hive" variable can continue to exist also after the destructed "struct local_key" object. It is also referenced by the "mountpoints" structure under the "ctx" object.
2010-03-22s4:registry - "local" - add also here more "W_ERROR_HAVE_NO_MEMORY" macro testsMatthias Dieter Wallnöfer1-8/+26
2010-03-22s4:registry - adaptions for "add memory contexts for delete value/key functions"Matthias Dieter Wallnöfer1-4/+6
2010-03-06s4:libregistry - change counters to be "unsigned"Matthias Dieter Wallnöfer1-2/+2
Also the s4 registry library has to have "unsigned" counters like the Windows one.
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-05-23Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into registryJelmer Vernooij1-9/+1
(This used to be commit e8d96b61db1cddc2d8dca45e6e9b53d5c31ee5d4)
2008-04-25Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij1-8/+1
Conflicts: source/Makefile source/auth/config.mk source/auth/gensec/config.mk source/build/m4/public.m4 source/build/make/python.mk source/build/make/rules.mk source/build/smb_build/header.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/dsdb/samdb/ldb_modules/config.mk source/kdc/config.mk source/lib/events/config.mk source/lib/events/events.c source/lib/ldb/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/util/config.mk source/libcli/smb2/config.mk source/libnet/config.mk source/librpc/config.mk source/nbt_server/config.mk source/ntptr/ntptr_base.c source/ntvfs/posix/config.mk source/ntvfs/sysdep/config.mk source/param/config.mk source/rpc_server/config.mk source/rpc_server/service_rpc.c source/scripting/ejs/config.mk source/scripting/python/config.mk source/smb_server/config.mk source/smbd/server.c source/torture/config.mk source/torture/smb2/config.mk source/wrepl_server/config.mk (This used to be commit 13bbd420681519894a4036729c43273912c9b402)
2008-04-16Remove unused arguments from reg_open_local().Jelmer Vernooij1-8/+1
(This used to be commit fee7ea7080ec40182efc6ffe57b267444eb9389a)
2008-04-14Add support for security descriptors. Also patched the regf backend to ↵Wilco Baan Hofman1-0/+16
support this. Did not touch the ldb, dir and rpc backends yet. (This used to be commit c4626f21a898da27a051f2c67f8fd73f55d4fc7d)
2008-04-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij1-1/+1
Conflicts: source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/makefile.pm source/heimdal_build/config.mk source/lib/events/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/registry/config.mk source/lib/socket_wrapper/config.mk source/lib/tdb/config.mk source/lib/tls/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/libnet/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/scripting/ejs/config.mk source/smbd/process_model.mk (This used to be commit 760378e0294dd0cd4523a83448328478632d7e3d)
2008-03-28Convert some more files to GPLv3.Andrew Kroeger1-1/+1
(This used to be commit ebe5e8399422eb7e2ff4deb546338823e2718907)
2008-02-16Move responsibilities of build.h to makefile.Jelmer Vernooij1-1/+0
(This used to be commit a43f6d37bce85748e9cf2675e5beced5db26f1c3)
2008-01-18registry: Avoid mapping registry return codes: return the right value in the ↵Jelmer Vernooij1-1/+1
first place. (This used to be commit 434e4857cec17d6d9e8983e151c170eed59fc6d1)
2008-01-07r26689: registry: Return max_subkeynamelen, max_valnamelen and ↵Jelmer Vernooij1-2/+6
max_valbufsize in getkeyinfo(). (This used to be commit b06896d2378e536f5044dbe500a5232a89d6d0b5)
2008-01-07r26688: Fix listing remote predefined keys and subkeys. This fixes bug 3431.Jelmer Vernooij1-2/+2
(This used to be commit 846876ad32dc86fe7c367db084e76c670c61b389)
2007-12-24r26565: Fix python registry bindings. 'PROVISION_PYTHON=yes make test' works ↵Jelmer Vernooij1-1/+1
now. (This used to be commit 485d1fa3d17fe6cc7a0ecd80e8bac42d173bbb19)
2007-12-24r26564: More python bindings for registry code.Jelmer Vernooij1-1/+1
(This used to be commit f40fad9827d0e9567224bc1e64ea91e610a07a3f)
2007-12-21r26518: Fix provision of registry using Python.Jelmer Vernooij1-1/+1
(This used to be commit 12eb38e553993b2726a803af4ae9c05229d6ebe4)
2007-12-21r26451: Janitorial: fix warnings in lib/registry/Kai Blin1-4/+4
This does not fix the discarded qualifier warnings in tests, as the test data is currently passed as const. Jelmer wants to provide a test function that passes non-const test data, thus allowing for a cleaner way to fix those warnings. (This used to be commit 46dfa63d4f7381c5c6ce3f4b8b0bd9aa9e16950c)
2007-10-10r25544: Cleanup some more indents in lib/registry.Günther Deschner1-91/+97
Guenther (This used to be commit 0d9826dc54057db2cfebcb806e5442c4dcf60daa)
2007-10-10r25193: Update headers to easy use by external apps.Jelmer Vernooij1-4/+4
(This used to be commit 20b70fbb7af6b6759c3b8c8aa56e10944b32bfdf)
2007-10-10r25047: Fix more warnings.Jelmer Vernooij1-1/+2
(This used to be commit 69de86d2d2e49439760fbc61901eb87fb7fc5d55)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij1-3/+2
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24994: Fix some C++ warnings.Jelmer Vernooij1-2/+2
(This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
2007-10-10r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵Jelmer Vernooij1-0/+333
have been working on for at least half a year now. Contains the following improvements: * proper layering (finally!) for the registry library. Distinction is now made between 'real' backends (local, remote, wine, etc) and the low-level hive backends (regf, creg, ldb, ...) that are only used by the local registry backend * tests for all important hive and registry operations * re-enable RPC-WINREG tests (still needs more work though, as some return values aren't checked yet) * write support for REGF files * dir backend now supports setting/reading values, creating keys * support for storing security descriptors * remove CREG backend as it was incomplete, didn't match the data model and wasn't used at all anyway * support for parsing ADM files as used by the policy editor (see lib/policy) * support for parsing PREG files (format used by .POL files) * new streaming interface for registry diffs (improves speed and memory usage for regdiff/regpatch significantly) ... and fixes a large number of bugs in the registry code (This used to be commit 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)