Branch: refs/heads/master
  Home:   https://github.com/conformal/btcwallet
  Commit: 596a3154c19e5cb53c2a855cb924408141210a26
      
https://github.com/conformal/btcwallet/commit/596a3154c19e5cb53c2a855cb924408141210a26
  Author: Josh Rickmar <[email protected]>
  Date:   2014-12-17 (Wed, 17 Dec 2014)

  Changed paths:
    M txstore/tx.go

  Log Message:
  -----------
  Avoid duplicating blocks and txs on privkey imports.

When detaching the tail end of a slice of blocks or transactions and
appending the newly inserted middle block, and the previous tail, the
capacity of the slice head must be limited to prevent overwriting the
newly inserted block/tx in the same memory as the tail slice.

Bug discovered by @mably while working on the peercoin port of
btcwallet and reported on IRC.


Reply via email to