Re: [PATCH xserver] Xext: dynamically allocate the PanoramiXDepths[j].vids array

2018-07-17 Thread Keith Packard
Peter Hutterer writes: > Control flow is: >PanoramiXMaybeAddDepth() allocates an array size 240 (pDepth->numVisuals) >PanoramiXMaybeAddVisual() finds up to 270 matches (pScreen->numVisuals) >and writes those into the previously allocated array. > > This caused invalid reads/writes

[PATCH xserver] Xext: dynamically allocate the PanoramiXDepths[j].vids array

2018-07-17 Thread Peter Hutterer
Control flow is: PanoramiXMaybeAddDepth() allocates an array size 240 (pDepth->numVisuals) PanoramiXMaybeAddVisual() finds up to 270 matches (pScreen->numVisuals) and writes those into the previously allocated array. This caused invalid reads/writes followed by eventually a double-free

wiki editing

2018-07-17 Thread Felix Miata
https://dri.freedesktop.org/wiki/ToDo/ https://dri.freedesktop.org/wiki/DDX/ Last edit on the latter was Sat 13 Apr 2013 11:15:48 PM UTC Neither have a "home" page link. I wanted to update these, but can't figure out how to determine if I even have an account that can. Selecting "Edit" produces a