]> git.ozlabs.org Git - ccan/commit
htable: fix bug where first entry has hash of 0 or 1.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 9 Mar 2012 02:50:35 +0000 (13:20 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 9 Mar 2012 02:50:35 +0000 (13:20 +1030)
commit0b93bd102aad6b61f1e569fb12aabc6352a1d7cd
tree20d509c2431dffe8cd402dd10be1f91ed8cefc7e
parenta85a809bb17af6b6cf6fa31b300c6622f64ee700
htable: fix bug where first entry has hash of 0 or 1.

Thanks to Zoltán Lajos Kis for the bug report and test case!
ccan/htable/htable.c
ccan/htable/test/run-zero-hash-first-entry.c [new file with mode: 0644]
ccan/htable/test/run.c