rpc: Prevent dumpwallet from overwriting files
Prevent arbitrary files from being overwritten. There have been reports that users have overwritten wallet files this way. It may also avoid other security issues. Fixes #9934. Adds mention to release notes and adds a test.
This commit is contained in:
1 parent
94c9015bca
commit
0cd9273fd9
3 files changed
+19
-3
No files matched your search
@@ -83,6 +83,9 @@ Low-level RPC changes
|
||||
* `getwalletinfo`
|
||||
* `getmininginfo`
|
||||
|
||||
- `dumpwallet` no longer allows overwriting files. This is a security measure
|
||||
as well as prevents dangerous user mistakes.
|
||||
|
||||
Credits
|
||||
=======
|
||||
|
||||
|
||||
Reference in new issue
Block a user