bug-hurd
[Top][All Lists]
Advanced

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

Re: ports_create_port() with bogus size?


From: Samuel Thibault
Subject: Re: ports_create_port() with bogus size?
Date: Tue, 13 Apr 2010 12:01:39 +0200
User-agent: Mutt/1.5.12-2006-07-14

olafBuddenhagen@gmx.net, le Mon 12 Apr 2010 13:45:50 +0200, a écrit :
> The above code means that if a caller passes a bogus size, instead of 
> screaming
> loudly, it is silently ignored?! I can't see how this can be useful :-(

Indeed, it's even dangerous since that means the user wasn't rebuilt
with a newer libports with bigger port_info size, potentially
overwriting the user's data after it.

Samuel




reply via email to

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