flat: fix uninitialized ptr with shared libs
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 6 Aug 2009 22:09:34 +0000 (15:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 7 Aug 2009 17:39:57 +0000 (10:39 -0700)
commit3440625d78711bee41a84cf29c3d8c579b522666
treec430bf6cc2b0f5ad4ce9464f378f14824e7fc28b
parent9e5cf0ca2e9b65110ae5f094d7f0f7165cd1bbbb
flat: fix uninitialized ptr with shared libs

The new credentials code broke load_flat_shared_library() as it now uses
an uninitialized cred pointer.

Reported-by: Bernd Schmidt <bernds_cb1@t-online.de>
Tested-by: Bernd Schmidt <bernds_cb1@t-online.de>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: David Howells <dhowells@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/binfmt_flat.c