Skip to content

Conversation

meshcollider
Copy link
Contributor

Fixes #11312

As @dooglus pointed out, g_connman is uninitialized when an invalid wallet path is passed on start up, but then dereferenced in Shutdown(), so this tiny PR just fixes that.

@laanwj laanwj added the Wallet label Sep 14, 2017
@laanwj
Copy link
Member

laanwj commented Sep 14, 2017

utACK 77939f2

@maflcko
Copy link
Member

maflcko commented Sep 14, 2017

utACK 77939f2

@maflcko maflcko merged commit 77939f2 into bitcoin:master Sep 14, 2017
maflcko pushed a commit that referenced this pull request Sep 14, 2017
77939f2 Fix uninitialized g_connman crash in Shutdown() (MeshCollider)

Pull request description:

  Fixes #11312

  As @dooglus pointed out, `g_connman` is uninitialized when an invalid wallet path is passed on start up, but then dereferenced in `Shutdown()`, so this tiny PR just fixes that.

Tree-SHA512: 2557133422a6e393017081450a7e6c100fe7d9ce36e628e5f5f479bc07617a7bd9a9ad4d44c0d8abadf2e3eb62a11ce9743abc27b4ae8c20f709e72df4f25a7f
@meshcollider meshcollider deleted the 201709_shutdown_crash branch September 14, 2017 20:01
@TheBlueMatt
Copy link
Contributor

Needs backport?

@maflcko maflcko added this to the 0.15.1 milestone Sep 14, 2017
@maflcko maflcko removed this from the 0.15.1 milestone Oct 3, 2017
@maflcko
Copy link
Member

maflcko commented Oct 3, 2017

No, no backport needed, since #10756 is only in master.

maflcko pushed a commit to maflcko/bitcoin-core that referenced this pull request Nov 2, 2017
@maflcko maflcko mentioned this pull request Nov 2, 2017
codablock pushed a commit to codablock/dash that referenced this pull request Sep 26, 2019
77939f2 Fix uninitialized g_connman crash in Shutdown() (MeshCollider)

Pull request description:

  Fixes bitcoin#11312

  As @dooglus pointed out, `g_connman` is uninitialized when an invalid wallet path is passed on start up, but then dereferenced in `Shutdown()`, so this tiny PR just fixes that.

Tree-SHA512: 2557133422a6e393017081450a7e6c100fe7d9ce36e628e5f5f479bc07617a7bd9a9ad4d44c0d8abadf2e3eb62a11ce9743abc27b4ae8c20f709e72df4f25a7f
codablock pushed a commit to codablock/dash that referenced this pull request Sep 29, 2019
77939f2 Fix uninitialized g_connman crash in Shutdown() (MeshCollider)

Pull request description:

  Fixes bitcoin#11312

  As @dooglus pointed out, `g_connman` is uninitialized when an invalid wallet path is passed on start up, but then dereferenced in `Shutdown()`, so this tiny PR just fixes that.

Tree-SHA512: 2557133422a6e393017081450a7e6c100fe7d9ce36e628e5f5f479bc07617a7bd9a9ad4d44c0d8abadf2e3eb62a11ce9743abc27b4ae8c20f709e72df4f25a7f
barrystyle pushed a commit to PACGlobalOfficial/PAC that referenced this pull request Jan 22, 2020
77939f2 Fix uninitialized g_connman crash in Shutdown() (MeshCollider)

Pull request description:

  Fixes bitcoin#11312

  As @dooglus pointed out, `g_connman` is uninitialized when an invalid wallet path is passed on start up, but then dereferenced in `Shutdown()`, so this tiny PR just fixes that.

Tree-SHA512: 2557133422a6e393017081450a7e6c100fe7d9ce36e628e5f5f479bc07617a7bd9a9ad4d44c0d8abadf2e3eb62a11ce9743abc27b4ae8c20f709e72df4f25a7f
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

crash when specifying path for -wallet=
4 participants