Re: linux-next: Tree for March 1 (bluetooth/hci_sysfs)

From: Stephen Rothwell
Date: Mon Mar 01 2010 - 20:15:42 EST


Hi Randy,

On Mon, 01 Mar 2010 13:08:21 -0800 Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote:
>
> static ssize_t inquiry_cache_read(struct file *file, char __user *userbuf,
> size_t count, loff_t *ppos)
> {
> struct hci_dev *hdev = file->private_data;
> struct inquiry_cache *cache = &hdev->inq_cache;
> struct inquiry_entry *e;
> char buf[4096]; // <<<<<<<<<<<<<<<<<<<<<<<<<<< huh? don't do that on stack.
> int n = 0;

Dave Miller is following up on that.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature