linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* namespaces: Out-of-bounds array access
@ 2012-01-06  0:18 Richard Weinberger
  2012-02-01 23:21 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Weinberger @ 2012-01-06  0:18 UTC (permalink / raw)
  To: Eric W. Biederman; +Cc: daniel.lezcano, linux-kernel@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 268 bytes --]

Hi!

While searching a completely different bug I've found this problem:
If CONFIG_NET_NS, CONFIG_UTS_NS and CONFIG_IPC_NS are disabled, ns_entries[]
becomes empty and things like ns_entries[ARRAY_SIZE(ns_entries) - 1] will explode.

Thanks,
//richard





[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-01 23:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-06  0:18 namespaces: Out-of-bounds array access Richard Weinberger
2012-02-01 23:21 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).