boltdb/bolt — pull request #144 by benbjohnson (2014-04-29 12:56:56+00:00)
Title: Copy key on Put() and CreateBucket().

This pull request makes a copy of the key byte slice before inserting into the database. This fixes the issue where users may reuse byte buffers which can corrupt the database.

Fixes #143.

---

/cc @tv42