[PATCH xproto v2] Don't let XFD_SETSIZE exceed FD_SETSIZE

Adam Jackson ajax at nwnk.net
Mon May 2 14:11:01 UTC 2016


On Mon, 2016-04-25 at 23:30 +0200, Julien Cristau wrote:
> On Mon, Apr 25, 2016 at 17:12:08 +0100, James Clarke wrote:
> 
> > This fixes 2c94cdb453bc641246cc8b9a876da9799bee1ce7 on the Hurd, as FD_SETSIZE
> > is only 256, and so anyone using XFD_SETSIZE to iterate over the contents of
> > an fd_set will overrun the array.
> > 
> > Signed-off-by: James Clarke <jrtc27 at jrtc27.com>
> > ---
> > Changes since v1:
> >   * Added Signed-off-by
> >   * Added xproto component to subject prefix
> > 
> >  Xpoll.h.in | 11 +++++++----
> >  1 file changed, 7 insertions(+), 4 deletions(-)
> > 
> Reviewed-by: Julien Cristau <jcristau at debian.org>

remote: I: patch #83482 updated using rev de30673937e2d36b84cf50c3eb05bbf9836fabfb.
remote: I: 1 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/proto/x11proto
   edc04f8..de30673  master -> master

- ajax


More information about the xorg-devel mailing list