On Tuesday 21 February 2006 15:39, Juraj Holtak - ProAut s.r.o. wrote:
> (uml_blowfis) proc cpuinfo
> OK
> processor       : 0
> vendor_id       : User Mode Linux
> model name      : UML
> mode            : skas
> host            : Linux xaser 2.6.15.2-skas3-v9-pre8 #1 SMP Sat Feb 4
> 16:08:58 CET 2006 i686
> bogomips        : 4757.91
>
> @Blaisorblade
> the instance name is uml_blowfish. Where has the "h" from fish gone? :-)
> Name too long?

Exactly. The prompt uses intentionally a truncation of the name, currently (I 
have no preference about this, however).

mconsole/uml_mconsole.c:41

static char uml_name[11];

Indeed, the first 10 positions should hold a character and the 11th should 
hold a '\0'.

So you should have only uml_blowfi (10 chars) as prompt. 

You aren't, because we're almost having a buffer overflow.

I'll include the patch for the overflow in next release - I'm very busy this 
days however.
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade


                
___________________________________ 
Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive 
http://it.messenger.yahoo.com



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to