bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH, glibc] _hurd_socket_server: check for negative domains


From: Pino Toscano
Subject: [PATCH, glibc] _hurd_socket_server: check for negative domains
Date: Mon, 21 Nov 2011 01:25:55 +0100
User-agent: KMail/1.13.7 (Linux/3.0.0-1-amd64; KDE/4.6.5; x86_64; ; )

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), causing also a warning "task XXX deallocating an invalid 
port YYY, most probably a bug" in that situation.

-- 
Pino Toscano

Attachment: glibc-_hurd_socket_server-indexcheck.diff
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]