diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-11-28 06:45:50 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-11-28 06:45:50 +0530 |
commit | 0817d63dd1f8e165f8ef6590bf4feddf06705381 (patch) | |
tree | aa8f8ee80db1dde9b73eacad849ed04b9393e9bb /ChangeLog | |
parent | de2fd463b1c0310d75084b6d774fb974075a4ad9 (diff) | |
download | glibc-0817d63dd1f8e165f8ef6590bf4feddf06705381.tar glibc-0817d63dd1f8e165f8ef6590bf4feddf06705381.tar.gz glibc-0817d63dd1f8e165f8ef6590bf4feddf06705381.tar.bz2 glibc-0817d63dd1f8e165f8ef6590bf4feddf06705381.zip |
Fix hashtable size calculation when database has exactly one record
The hash function needs a hashtable of at least size 3 or greater.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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] |