Re: [RFC][CFLART] ipmi procfs bogosity

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

 



Hi,

On Thursday 01 September 2005 22:30, Alexey Dobriyan wrote:
> On Thu, Sep 01, 2005 at 03:00:44PM -0500, Corey Minyard wrote:
> > Plus the scanning function I wrote handles arbitrary leading and 
> > trailing space, etc.  Not a big deal, but a little nicer.
> 
> You can say from the beggining that
> 
> 	echo -n "    2   " >/proc/FUBAR
> 	
> is illegal and don't add bloat to kernel.

No, user interfaces should be robust.
Just remember the mantra "Be liberal in what you accept and
conservative in what you send."

I would suggest adding sth. like Coreys user_strtoul() to lib/string.c
which would reduce bloat and security threats for the kernel.


Regards

Ingo Oeser

Attachment: pgp3GDlFkfMI8.pgp
Description: PGP signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux