linux/security
Al Viro 45525b26a4 fix a leak in replace_fd() users
replace_fd() began with "eats a reference, tries to insert into
descriptor table" semantics; at some point I'd switched it to
much saner current behaviour ("try to insert into descriptor
table, grabbing a new reference if inserted; caller should do
fput() in any case"), but forgot to update the callers.
Mea culpa...

[Spotted by Pavel Roskin, who has really weird system with pipe-fed
coredumps as part of what he considers a normal boot ;-)]

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-10-16 13:36:50 -04:00
..
2012-10-05 22:32:16 +10:00
2012-10-16 13:36:50 -04:00
2012-10-11 20:02:04 -04:00
2012-10-11 20:02:04 -04:00
2012-09-28 13:37:32 +10:00
2012-10-11 20:02:04 -04:00
2012-01-10 10:20:35 -05:00
2012-02-10 09:18:52 +11:00
2012-10-11 20:02:04 -04:00