Hi Tony, On 03/04/2014 06:01 PM, Tony Espy wrote: > The current bitshift logic in idmap incorrectly uses > the literal 1 for the value to shift in idmap_alloc(), > idmap_take(), and idmap_alloc_next(). This causes the > resulting value to be an int instead of a long, which > results in the wrong bit being set once the number of > bits to shift operand exceeds sizeof(int). Also > on some platforms, the behavior of the left bitshift > operator is undefined when this overflow occurs. > --- > src/idmap.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > Good catch. Patch has been applied, thanks. Regards, -Denis