Re: [PATCH] clean up missing overflow check in get_blkdev_list

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

 



On Tue, Aug 16, 2005 at 02:48:13PM -0400, Neil Horman wrote:
> Patch to clean up missing overflow check in get_blkdev_list.  the printf which
> adds the "Block Devices" string in /proc/devices can overflow the presented page
> if get_chrdev_list eats up the entire 4k space. Tested by myself, with good
> results.

Please switch /proc/device over to the proper seq_file model instead.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[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