[PATCH libpciaccess] Fix pci_io_handle allocation routines.

2012-04-01 Thread Matthieu Herrb
The previous version of new_io_handle() would invalidate all previous allocations when realloc moves the base pointer of the ios array. Since I cannot figure out where this array is useful, just get rid of it, providing sound stable memory allocation. Fixes vgaHWSaveFonts() in 1.12 xserver on Ope

Re: [PATCH libpciaccess] Fix pci_io_handle allocation routines.

2012-04-03 Thread Tormod Volden
On Mon, Apr 2, 2012 at 8:26 AM, Matthieu Herrb wrote: > The previous version of new_io_handle()  would invalidate all previous > allocations when realloc moves the base pointer of the ios array. > Since I cannot figure out where this array is useful, just get rid of > it, providing sound stable mem

Re: [PATCH libpciaccess] Fix pci_io_handle allocation routines.

2012-04-05 Thread Jeremy Huddleston
Yep. Please get this committed before we tag it for the katamari. Reviewed-by: Jeremy Huddleston On Apr 1, 2012, at 23:26, Matthieu Herrb wrote: > The previous version of new_io_handle() would invalidate all previous > allocations when realloc moves the base pointer of the ios array. > Since

Re: [PATCH libpciaccess] Fix pci_io_handle allocation routines.

2012-04-05 Thread Matthieu Herrb
On Thu, Apr 05, 2012 at 02:16:53PM -0700, Jeremy Huddleston wrote: > Yep. Please get this committed before we tag it for the katamari. > > Reviewed-by: Jeremy Huddleston Hi, Already pushed http://cgit.freedesktop.org/xorg/lib/libpciaccess/commit/?id=6f9d9f1e1b093939bc459be606fba72f1d6dfc76 >