[2496] in Kerberos-V5-bugs
krb5-admin/228: kpasswd casts getuid() to int
daemon@ATHENA.MIT.EDU (hartmans@MIT.EDU)
Fri Nov 22 18:41:24 1996
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: bjaspan@MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, hartmans@MIT.EDU
Date: Fri, 22 Nov 1996 18:40:12 -0500
From: hartmans@MIT.EDU
Reply-To: hartmans@MIT.EDU
To: krb5-bugs@MIT.EDU
>Number: 228
>Category: krb5-admin
>Synopsis: kpasswd casts getuid() to int
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bjaspan
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Fri Nov 22 18:41:00 EST 1996
>Last-Modified:
>Originator: Sam Hartman
>Organization:
mit
>Release: 1.0-development
>Environment:
System: SunOS starkiller 5.4 Generic_101945-37 sun4m sparc
>Description:
When trying to find the user in the passwd file, kpasswd casts the
return of getuid() to int in a call to getpwuid(); this is wrong.
>How-To-Repeat:
>Fix:
Let the prototypes deal. You don't need a cast on most operating
systems, and if you find one that gives an error, we can special case.
>Audit-Trail:
>Unformatted: