Hi Sehrope,

> Seven patches:
>
>   0001  bound decode_varbyte() against the segment end
>   0002  check each segment fits within the posting list
>   0003  reject items that are out of range or out of order
>   0004  tests, through gin_leafpage_items()
>   0005  size the output array from len, not the unvalidated nbytes
>   0006  remove unreachable repalloc_array()
>   0007  scope some locals to the loop (cosmetic)

Thanks for the bugreport and the patches.

They apply cleanly, the tests pass, and each of the cases catch the
bug. I'm going to change the CF entry to RfC.

-- 
Best regards,
Aleksander Alekseev


Reply via email to