Re: [PATCH,HURD] hurdsock: reject negative domains

2011-11-24 Thread Pino Toscano
Alle mercoledì 23 novembre 2011, Thomas Schwinge ha scritto: > Hi! > > On Mon, 21 Nov 2011 22:23:26 +0100, Pino Toscano wrote: > > Reject negative socket domains right away; otherwise, it is > > possible to read and set out-of-bounds locations of the `servers' > > array (returning the values at

Re: [PATCH,HURD] hurdsock: reject negative domains

2011-11-23 Thread Thomas Schwinge
Hi! On Mon, 21 Nov 2011 22:23:26 +0100, Pino Toscano wrote: > Reject negative socket domains right away; otherwise, it is possible to read > and set out-of-bounds locations of the `servers' array (returning the values > at those invalid memory locations), and even try to deallocate ports with >

[PATCH,HURD] hurdsock: reject negative domains

2011-11-21 Thread Pino Toscano
Alle lunedì 21 novembre 2011, Samuel Thibault ha scritto: > 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) U