[virt-tools-list] [PATCH virt-viewer 15/19] Hook up handling of Monitors

Christophe Fergeau cfergeau at redhat.com
Tue Jul 17 14:30:08 UTC 2012


On Tue, Jul 17, 2012 at 04:18:00PM +0200, Marc-André Lureau wrote:
> On Tue, Jul 17, 2012 at 4:06 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> > Oh, I was mostly thinking of checking max_monitors for an arbitrary max
> > value (4, 16 or 256) to avoid allocating arbitrary amount of memory by
> > trusting a network value.
> 
> There is no arbitrary value that would be really appropriate.
> 
> Furthermore, as I tried to say, there are many places where we trust
> server values. For instance size of a message. It doesn't really makes
> sense to check only this value here.

Yeah I know there are many worrying places, for new code and new protocol
additions, it would be nice to start thinking about this...
I'm not seeing this as a blocking issue, but this is getting more and more
scary nonetheless...

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20120717/246d4c74/attachment.sig>


More information about the virt-tools-list mailing list