mirror of
https://github.com/bitwarden/browser
synced 2026-01-03 00:53:23 +00:00
[BEEEP] Add zeroizing alloc to desktop_native (#14601)
* Add zeroizing alloc * Cleanup * Cleanup
This commit is contained in:
@@ -55,6 +55,7 @@ rsa = { workspace = true }
|
||||
ed25519 = { workspace = true, features = ["pkcs8"] }
|
||||
bytes = { workspace = true }
|
||||
sysinfo = { workspace = true, features = ["windows"] }
|
||||
zeroizing-alloc = { workspace = true }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
widestring = { workspace = true, optional = true }
|
||||
|
||||
@@ -8,3 +8,8 @@ pub mod password;
|
||||
pub mod powermonitor;
|
||||
pub mod process_isolation;
|
||||
pub mod ssh_agent;
|
||||
|
||||
use zeroizing_alloc::ZeroAlloc;
|
||||
|
||||
#[global_allocator]
|
||||
static ALLOC: ZeroAlloc<std::alloc::System> = ZeroAlloc(std::alloc::System);
|
||||
|
||||
Reference in New Issue
Block a user