open-vault/vault
Chris Thunes 16f52969f4 Fix memory issue caused by append of group slice to itself. (#5611)
The slice returned by `collectGroupsReverseDFS` is an updated copy of
the slice given to it when called. Appending `pGroups` to `groups`
therefore led to expontential memory usage as the slice was repeatedly
appended to itself.

Fixes #5605
2018-10-29 10:38:34 -04:00
..
external_tests Batch tokens (#755) 2018-10-15 12:56:24 -04:00
seal Add -dev-auto-seal option (#5629) 2018-10-29 09:30:24 -04:00
acl.go The big one (#5346) 2018-09-17 23:03:00 -04:00
acl_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
acl_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00
audit.go The big one (#5346) 2018-09-17 23:03:00 -04:00
audit_broker.go The big one (#5346) 2018-09-17 23:03:00 -04:00
audit_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
audited_headers.go Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
audited_headers_test.go Add context to the NewSalt function (#4102) 2018-03-08 11:21:11 -08:00
auth.go Batch tokens (#755) 2018-10-15 12:56:24 -04:00
auth_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
barrier.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
barrier_access.go Fix compile 2018-01-19 05:31:55 -05:00
barrier_aes_gcm.go Batch tokens (#755) 2018-10-15 12:56:24 -04:00
barrier_aes_gcm_test.go Move logic around a bit to avoid holding locks when not necessary (#5277) 2018-09-05 11:49:32 -04:00
barrier_test.go
barrier_view.go The big one (#5346) 2018-09-17 23:03:00 -04:00
barrier_view_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
barrier_view_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00
capabilities.go Fix Capabilities check when in a child namespace (#5406) 2018-09-26 15:10:36 -07:00
capabilities_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
cluster.go The big one (#5346) 2018-09-17 23:03:00 -04:00
cluster_test.go use constant where x-vault-token was still hardcoded (#5392) 2018-09-25 09:34:40 -07:00
cluster_tls.go The big one (#5346) 2018-09-17 23:03:00 -04:00
core.go Remove disableIndexing 2018-10-23 16:05:45 -04:00
core_test.go Seal migration (OSS) (#781) 2018-10-22 23:34:02 -07:00
core_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00
cors.go Add support for token passed Authorization Bearer header (#5397) 2018-10-01 10:33:21 -07:00
dynamic_system_view.go The big one (#5346) 2018-09-17 23:03:00 -04:00
expiration.go Merge branch 'master-oss' into 1.0-beta-oss 2018-10-19 17:47:58 -04:00
expiration_integ_test.go
expiration_test.go Batch tokens (#755) 2018-10-15 12:56:24 -04:00
expiration_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00
generate_root.go Deprecate SHA1 in token store (#770) 2018-10-17 13:23:04 -07:00
generate_root_test.go Deprecate SHA1 in token store (#770) 2018-10-17 13:23:04 -07:00
ha.go Batch tokens (#755) 2018-10-15 12:56:24 -04:00
identity_lookup.go The big one (#5346) 2018-09-17 23:03:00 -04:00
identity_lookup_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
identity_store.go Case insensitive identity names (#5404) 2018-10-19 12:47:26 -07:00
identity_store_aliases.go Case insensitive identity names (#5404) 2018-10-19 12:47:26 -07:00
identity_store_aliases_test.go Case insensitive identity names (#5404) 2018-10-19 12:47:26 -07:00
identity_store_entities.go Case insensitive identity names (#5404) 2018-10-19 12:47:26 -07:00
identity_store_entities_test.go fmt 2018-10-20 21:09:51 -04:00
identity_store_group_aliases.go The big one (#5346) 2018-09-17 23:03:00 -04:00
identity_store_group_aliases_test.go Case insensitive identity names (#5404) 2018-10-19 12:47:26 -07:00
identity_store_groups.go Support operating on entities and groups by their names (#5355) 2018-09-25 12:28:28 -07:00
identity_store_groups_test.go Case insensitive identity names (#5404) 2018-10-19 12:47:26 -07:00
identity_store_schema.go Case insensitive identity names (#5404) 2018-10-19 12:47:26 -07:00
identity_store_structs.go Case insensitive identity names (#5404) 2018-10-19 12:47:26 -07:00
identity_store_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
identity_store_upgrade.go Add locking when adding aliases to existing entities (#4965) 2018-07-24 22:01:58 -04:00
identity_store_util.go Fix memory issue caused by append of group slice to itself. (#5611) 2018-10-29 10:38:34 -04:00
init.go Seal migration (OSS) (#781) 2018-10-22 23:34:02 -07:00
init_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
keyring.go Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
keyring_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
logical_cubbyhole.go The big one (#5346) 2018-09-17 23:03:00 -04:00
logical_cubbyhole_test.go
logical_passthrough.go The big one (#5346) 2018-09-17 23:03:00 -04:00
logical_passthrough_test.go
logical_system.go Batch tokens (#755) 2018-10-15 12:56:24 -04:00
logical_system_helpers.go The big one (#5346) 2018-09-17 23:03:00 -04:00
logical_system_integ_test.go Short-circuit TestBackend_PluginMainEnv on plain test run (#5393) 2018-09-25 09:22:34 -07:00
logical_system_paths.go Batch tokens (#755) 2018-10-15 12:56:24 -04:00
logical_system_test.go Batch tokens (#755) 2018-10-15 12:56:24 -04:00
mount.go Batch tokens (#755) 2018-10-15 12:56:24 -04:00
mount_test.go Batch tokens (#755) 2018-10-15 12:56:24 -04:00
mount_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00
namespaces.go The big one (#5346) 2018-09-17 23:03:00 -04:00
plugin_catalog.go Add ability to provide env vars to plugins (#5359) 2018-09-20 10:50:29 -07:00
plugin_catalog_test.go Add ability to provide env vars to plugins (#5359) 2018-09-20 10:50:29 -07:00
plugin_reload.go The big one (#5346) 2018-09-17 23:03:00 -04:00
policy.go The big one (#5346) 2018-09-17 23:03:00 -04:00
policy_store.go The big one (#5346) 2018-09-17 23:03:00 -04:00
policy_store_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
policy_store_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00
policy_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
policy_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00
rekey.go Tackle #4929 a different way (#4932) 2018-07-24 13:57:25 -07:00
rekey_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
replication_cluster_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00
request_forwarding.go Logger cleanup (#5480) 2018-10-09 09:43:17 -07:00
request_forwarding_rpc.go Logger cleanup (#5480) 2018-10-09 09:43:17 -07:00
request_forwarding_rpc_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00
request_forwarding_service.pb.go Fix compilation/protobuf 2018-09-22 17:58:39 -04:00
request_forwarding_service.proto The big one (#5346) 2018-09-17 23:03:00 -04:00
request_forwarding_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00
request_handling.go Batch tokens (#755) 2018-10-15 12:56:24 -04:00
request_handling_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
request_handling_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00
rollback.go The big one (#5346) 2018-09-17 23:03:00 -04:00
rollback_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
router.go Deprecate SHA1 in token store (#770) 2018-10-17 13:23:04 -07:00
router_access.go The big one (#5346) 2018-09-17 23:03:00 -04:00
router_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
seal.go Seal migration (OSS) (#781) 2018-10-22 23:34:02 -07:00
seal_access.go Send initialized information via sys/seal-status (#5424) 2018-09-27 14:03:37 -07:00
seal_autoseal.go Seal migration (OSS) (#781) 2018-10-22 23:34:02 -07:00
seal_test.go Use atomic values in seal to avoid some data races (#4040) 2018-02-23 17:18:48 -05:00
seal_testing.go The big one (#5346) 2018-09-17 23:03:00 -04:00
seal_testing_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00
sealunwrapper.go [Review Only] Autoseal OSS port (#757) 2018-10-19 14:43:57 -07:00
sealunwrapper_test.go Seal migration (OSS) (#781) 2018-10-22 23:34:02 -07:00
testing.go Seal migration (OSS) (#781) 2018-10-22 23:34:02 -07:00
testing_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00
token_store.go Deprecate SHA1 in token store (#770) 2018-10-17 13:23:04 -07:00
token_store_test.go Deprecate SHA1 in token store (#770) 2018-10-17 13:23:04 -07:00
token_store_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00
ui.go adds ability to override default CSP with warning (#395) 2018-04-03 09:34:14 -05:00
ui_test.go Fix compilation and tests failures (#4254) 2018-04-03 14:07:43 -04:00
util.go
util_test.go
wrapping.go The big one (#5346) 2018-09-17 23:03:00 -04:00
wrapping_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00