mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-02 01:04:43 +02:00
Merge bitcoin/bitcoin#34544: wallet: Disallow wallet names that are paths including .. and . elements
eed7af666bdoc: Add release note for disallowing some wallet path names (David Gumberg)3d7f0e4ed5wallettool: Use GetWalletPath to determine the wallet path (Ava Chow)2b0dc0d228wallet: Disallow . and .. from wallet names (Ava Chow) Pull request description: Wallet names including `..` and `.` are unintuitive and can lead to various issues, see #34497 This disallows creating or loading wallets that have any path elements that are `..` or `.`, including any present in an absolute path. This does not disallow relative paths altogether but rather limits them to only being subdirectories of the wallets directory. ACKs for top commit: davidgumberg: crACKeed7af666bw0xlt: ACKeed7af666barejula27: ACKeed7af666bTree-SHA512: bec5e54369061eb630d9afb94701badce09e8beb63686cf714016466fc01653d4841030fc10fcd14d44e6b1022c0994cb32253d80533807704d9e11eda2423ff
This commit is contained in:
7
doc/release-notes-34544.md
Normal file
7
doc/release-notes-34544.md
Normal file
@@ -0,0 +1,7 @@
|
||||
Wallet
|
||||
------
|
||||
|
||||
- Wallets names that are relative paths including `..` and `.` elements, and
|
||||
wallets named `/` are no longer allowed. Any users that depended on this
|
||||
behavior can instead use absolute paths to their wallet or move their wallet
|
||||
to a safer path.
|
||||
Reference in New Issue
Block a user