]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
Fix hashtable size calculation when database has exactly one record
[thirdparty/glibc.git] / ChangeLog
index 1a2e4da7bbf803d5c9799b2fb07fea883acea7ee..7df91e57986b201c757073ad881448f6223b49e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
+           Carlos O'Donell  <carlos_odonell@mentor.com>
+
+       * nss/makedb.c (is_prime): Assert that input is odd and greater
+       than 4.  Note that fact in a comment too.
+       (next_prime): Add 4 to input.
+
 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
        [BZ #11741]