Check for null pointers in Shutdown (issue #1950) #1952

pull tucenaber wants to merge 4 commits into bitcoin:master from tucenaber:master changing 1 files +4 −2
  1. tucenaber commented at 8:56 PM on October 23, 2012: contributor

    Both pcointTip and pblocktree can be null, but since CBlockTree::Flush is empty the call is optimized away and so the second check is not strictly necessary...

  2. Added checks for null pointers in Shutdown f057fcfcfb
  3. sipa commented at 10:05 PM on October 23, 2012: member

    The braces aren't necessary, but nice catch. ACK on the change.

  4. tucenaber commented at 10:36 PM on October 23, 2012: contributor

    Wasn't sure about the coding style ;)

  5. Estetics ee75831030
  6. Diapolo commented at 5:50 AM on October 24, 2012: none

    Can you please squash the both commits into one :).

    • git rebase origin -i
    • add squash in front of the second commit
  7. laanwj commented at 6:21 AM on October 24, 2012: member

    ACK after squashing to one commit

  8. Added checks for null pointers in Shutdown
    Estetics
    cde4b112e4
  9. Merge branch 'master' of git://github.com/tucenaber/bitcoin 99f9a11fc6
  10. tucenaber commented at 11:48 AM on October 24, 2012: contributor

    Diapolo: I did the rebase thing and git forced me to merge and now there are 4 commits... Should I just create a new pull request?

    Edit: never mind I get it now

  11. Diapolo commented at 12:37 PM on October 24, 2012: none

    It's best to fetch upstream changes (current master git fetch upstream), rebase to upstream (git rebase upstream) and afterwards rebase origin and squash your commits. You can kick unwanted commits out by simply removing their line while doing git rebase origin -i.

  12. sipa commented at 6:50 PM on October 25, 2012: member

    Cherry picked cde4b11 as 3026baaa7c3.

  13. sipa closed this on Oct 25, 2012

  14. KolbyML referenced this in commit c7f7b009b7 on Dec 5, 2020
  15. KolbyML referenced this in commit eaac8fe2e7 on Dec 5, 2020
  16. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 00:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me