Re: rpki-client: fewer reallocarrays() for IPAddrBlocks

2022-05-12 Thread Claudio Jeker
On Thu, May 12, 2022 at 11:27:21AM +0200, Theo Buehler wrote: > This aligns sbgp_ipaddrblk() with sbgp_assysnum(), giving it a similar > treatment. We trade the reallocarray() per prefix or range with at most > two recallocarray(). I took the liberty of trimming some RFC section > numbers in warnin

rpki-client: fewer reallocarrays() for IPAddrBlocks

2022-05-12 Thread Theo Buehler
This aligns sbgp_ipaddrblk() with sbgp_assysnum(), giving it a similar treatment. We trade the reallocarray() per prefix or range with at most two recallocarray(). I took the liberty of trimming some RFC section numbers in warnings to avoid awkward line wrapping. Index: cert.c