On Tue, Apr 02, 2002 at 10:22:21AM -0500, Neal H Walfield wrote:
> 2002-04-02 Neal H Walfield <[EMAIL PROTECTED]>
>
> * io-restrict-auth.c (diskfs_S_io_restrict_auth): When checking
> the result of a function, be sure to first save the result.
This part was rewritten by Roland in 05-04.
> Only free USER if there was an error.
This is wrong, as USER is dup'ed in diskfs_finish_protid
if (!user)
err = iohelp_create_simple_iouser (&cred->user, 0, 0);
else
err = iohelp_dup_iouser (&cred->user, user);
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED]
Marcus Brinkmann GNU http://www.gnu.org [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de
_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd