cvs commit: src/sys/kern vfs_mount.c

Kris Kennaway kris at obsecurity.org
Thu Apr 24 03:05:39 PDT 2003


On Thu, Apr 24, 2003 at 01:16:07AM -0700, Tim J. Robbins wrote:
> tjr         2003/04/24 01:16:07 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             vfs_mount.c 
>   Log:
>   Free mount credentials (mnt_cred) when freeing the mount struct
>   in failure cases to avoid leaking struct ucreds, and ultimately
>   leaking struct uidinfo references.

8b        d8                                               88
 Y8,    ,8P                                                88
  Y8,  ,8P                                                 88
   "8aa8" ,adPPYba,  88       88    8b,dPPYba, 88       88 88  ,adPPYba,
    `88' a8"     "8a 88       88    88P'   "Y8 88       88 88 a8P_____88
     88  8b       d8 88       88    88         88       88 88 8PP"""""""
     88  "8a,   ,a8" "8a,   ,a88    88         "8a,   ,a88 88 "8b,   ,aa
     88   `"YbbdP"'   `"YbbdP'Y8    88          `"YbbdP'Y8 88  `"Ybbd8"'

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20030424/0b52be0c/attachment.bin


More information about the cvs-src mailing list