On Mon, Mar 4, 2024 at 7:58 AM Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote: > > BTW, I skipped 2/3, I am not convinced this gives us much. > Hi Pablo, Thank you, I greatly appreciate you accepting patches 1/3 and 3/3. In regards to 2/3, since we're using max_elems in allocation calls that take size_t as a parameter, such as in realloc(..., v->max_elems * v->size), and cur_elems as an offset of allocated memory, we should utilize that type. In the event that you concur, it would also be necessary to modify the index type on line 83, which was missed. Donald