18 Jan
2012
18 Jan
'12
4:43 p.m.
On 01/18/2012 04:35 PM, Clemens Ladisch wrote:
Peter Ujfalusi wrote:
We run the loop as long as the sample size is bigger than the requested msbits.
- while (sample_sizes[i] > bits && i < ARRAY_SIZE(sample_sizes)) {
This will overrun sample_sizes[] if bits < 8.
which is prevented by the: && i < ARRAY_SIZE(sample_sizes)
--
Péter