Re: [PATCH, glibc] _hurd_socket_server: check for negative domains

2011-11-20 Thread Samuel Thibault
Pino Toscano, le Mon 21 Nov 2011 01:25:55 +0100, a écrit : > attached there is a patch for glibc to check for negative indexes in > _hurd_socket_server(). Thanks! Could you submit it to libc-alpha? (with rol...@gnu.org CC-ed) Samuel

[PATCH, glibc] _hurd_socket_server: check for negative domains

2011-11-20 Thread Pino Toscano
Hi, attached there is a patch for glibc to check for negative indexes in _hurd_socket_server(). This should avoid that calls to socket() or socketpair() with domain < 0 read/set OOB memory (and potentially crashing, like it happens when doing such calls using perl's socketpair for example), ca