* bug274: fix use of c++ keyword 'class' for RR class in the code.
* bug275: fix memory leak of packet edns rdata.
* Fix timeout procedure for TCP and AXFR on Solaris.
+ * Fix occansional NSEC bitmap bogus
1.6.1 2009-09-14
* --enable-gost : use the GOST algorithm (experimental).
if ((i_type / 8) + 1 > bm_len) {
bitmap = LDNS_XREALLOC(bitmap, uint8_t, (i_type / 8) + 1);
/* set to 0 */
- for (; bm_len <= i_type / 8; bm_len++) {
+ for (; bm_len < (i_type / 8) + 2; bm_len++) {
bitmap[bm_len] = 0;
}
}