Mercurial > gnulib
comparison gnulib-tool.py @ 40240:d55c6147cb55
bitset: fix overflows
Reported by Bruno Haible.
https://lists.gnu.org/archive/html/bug-gnulib/2019-03/msg00017.html
* lib/bitset/table.c (tbitset_test): last_bit is the position of
the bit in the array of bitset_word, so be sure to take its modulo
number-of-bits-in-bitset-word (i.e., EBITSET_ELT_WORDS).
* lib/bitset/list.c (lbitset_unused_clear): Likewise.
author | Akim Demaille <akim.demaille@gmail.com> |
---|---|
date | Sat, 16 Mar 2019 17:16:48 +0100 |
parents | b06060465f09 |
children |
comparison
equal
deleted
inserted
replaced
40239:e60e51dd1612 | 40240:d55c6147cb55 |
---|