lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4B958E6D.70006@xenotime.net>
Date:	Mon, 08 Mar 2010 15:55:25 -0800
From:	Randy Dunlap <rdunlap@...otime.net>
To:	Luca Tettamanti <kronos.it@...il.com>
CC:	Marcel Holtmann <marcel@...tmann.org>, linux-kernel@...r.kernel.org
Subject: Re: [BUG?] inquiry_cache_read: stack size

On 03/08/10 14:38, Luca Tettamanti wrote:
> Hi Marcel,
> I'm compiling current -git kernel and noticed this warning:
> 
> net/bluetooth/hci_sysfs.c: In function 'inquiry_cache_read':
> net/bluetooth/hci_sysfs.c:441: warning: the frame size of 4208 bytes is larger than 2048 bytes
> 
> which is caused by:
> 
> commit ca325f698996c1a0770a67f41e7dc97a007d8bc2
> Author: Marcel Holtmann <marcel@...tmann.org>
> Date:   Mon Feb 8 16:22:31 2010 +0100
> 
>     Bluetooth: Convert inquiry cache to use debugfs instead of sysfs
> 
>     The output of the inquiry cache is only useful for debugging
>     purposes and so move it into debugfs.
> 
> This buffer on the stack:
> 
>     char buf[4096];
> 
> is likelly to cause troubles, since the kernel space stack is limited to
> 8K or even 4K (4KSTACKS).

Patch was on netdev mailing list on TUE Mar. 2, 2010.
Please see http://www.spinics.net/lists/netdev/msg122906.html

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ