commit | aae141a7513bb6ff44834f9a2459632d7a5f6b00 | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@mad-scientist.com> | Thu Nov 01 21:08:14 2007 +0000 |
committer | Gregory P. Smith <greg@mad-scientist.com> | Thu Nov 01 21:08:14 2007 +0000 |
tree | 72d98580a040674876bdb2919f2ac950e967e9b0 | |
parent | 744b32a544bae1bd4e40730802103ae823f3c673 [diff] |
Fix bug introduced in revision 58385. Database keys could no longer have NULL bytes in them. Replace the errant strdup with a malloc+memcpy. Adds a unit test for the correct behavior.