From mvachhar@pythagoras.rutgers.edu Tue Feb 3 20:52:36 1998
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id UAA16698 for <bugs@RT-11.MIT.EDU>; Tue, 3 Feb 1998 20:52:31 -0500
Received: from pythagoras.rutgers.edu by MIT.EDU with SMTP
id AA17426; Tue, 3 Feb 98 20:52:29 EST
Received: (from mvachhar@localhost)
by pythagoras.rutgers.edu (8.8.5/8.8.5) id UAA31193;
Tue, 3 Feb 1998 20:52:31 -0500
Message-Id: <199802040152.UAA31193@pythagoras.rutgers.edu>
Date: Tue, 3 Feb 1998 20:52:31 -0500
From: Manish Vachharajani <mvachhar@pythagoras.rutgers.edu>
Reply-To: mvachhar@pythagoras.rutgers.edu
To: krb5-bugs@MIT.EDU
Subject: Problem with krb5-1.0.4 ftpd
X-Send-Pr-Version: 3.99
Rutgers University http://www.rutgers.net/~mvachhar
Telecommunications Division
Systems Programmer
System: Linux arsenic.rutgers.edu 2.0.33 #1 Tue Jan 22 11:32:12 EDT 1998 i686 unknown Architecture: i686
OS's I checked.
Here is the patch
--- krb5-1.0.4/src/appl/gssftp/ftpd/logwtmp.c Thu Dec 4 22:42:01 1997
+++ krb5-1.0.4-new/src/appl/gssftp/ftpd/logwtmp.c Mon Feb 2 15:48:34 1998
@@ -59,8 +59,8 @@
* after first call, for use with ftp (which may chroot
* after login, but before logout).
*/
-logwtmp(line, name, host)
- char *line, *name, *host;
+void logwtmp(line, name, host)
+ const char *line, *name, *host;
{
struct utmp ut;
struct stat buf;
State-Changed-From-To: ????-closed
State-Changed-By: tlyu
State-Changed-When: Sun Feb 22 21:32:02 1998
State-Changed-Why:
Already fixed
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id UAA16698 for <bugs@RT-11.MIT.EDU>; Tue, 3 Feb 1998 20:52:31 -0500
Received: from pythagoras.rutgers.edu by MIT.EDU with SMTP
id AA17426; Tue, 3 Feb 98 20:52:29 EST
Received: (from mvachhar@localhost)
by pythagoras.rutgers.edu (8.8.5/8.8.5) id UAA31193;
Tue, 3 Feb 1998 20:52:31 -0500
Message-Id: <199802040152.UAA31193@pythagoras.rutgers.edu>
Date: Tue, 3 Feb 1998 20:52:31 -0500
From: Manish Vachharajani <mvachhar@pythagoras.rutgers.edu>
Reply-To: mvachhar@pythagoras.rutgers.edu
To: krb5-bugs@MIT.EDU
Subject: Problem with krb5-1.0.4 ftpd
X-Send-Pr-Version: 3.99
Show quoted text
>Number: 543
>Category: krb5-appl
>Synopsis: broken function prototype
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: krb5-unassigned
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Tue Feb 03 20:53:01 EST 1998
>Last-Modified: Sun Feb 22 21:32:11 EST 1998
>Originator: Manish Vachharajani
>Organization:
Manish Vachharajani <mvachhar@noc.rutgers.edu>>Category: krb5-appl
>Synopsis: broken function prototype
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: krb5-unassigned
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Tue Feb 03 20:53:01 EST 1998
>Last-Modified: Sun Feb 22 21:32:11 EST 1998
>Originator: Manish Vachharajani
>Organization:
Rutgers University http://www.rutgers.net/~mvachhar
Telecommunications Division
Systems Programmer
Show quoted text
>Release: krb5-1.0.4
>Environment:
i686, linux, glibc2>Environment:
System: Linux arsenic.rutgers.edu 2.0.33 #1 Tue Jan 22 11:32:12 EDT 1998 i686 unknown Architecture: i686
Show quoted text
>Description:
The prototype for logwtmp should be void, as it is in glibc and a few otherOS's I checked.
Show quoted text
>How-To-Repeat:
Compile under redhat linux 5.0 after fixing the glibc problem with errnos.h Show quoted text
>Fix:
Here is the patch
--- krb5-1.0.4/src/appl/gssftp/ftpd/logwtmp.c Thu Dec 4 22:42:01 1997
+++ krb5-1.0.4-new/src/appl/gssftp/ftpd/logwtmp.c Mon Feb 2 15:48:34 1998
@@ -59,8 +59,8 @@
* after first call, for use with ftp (which may chroot
* after login, but before logout).
*/
-logwtmp(line, name, host)
- char *line, *name, *host;
+void logwtmp(line, name, host)
+ const char *line, *name, *host;
{
struct utmp ut;
struct stat buf;
Show quoted text
>Audit-Trail:
State-Changed-From-To: ????-closed
State-Changed-By: tlyu
State-Changed-When: Sun Feb 22 21:32:02 1998
State-Changed-Why:
Already fixed
Show quoted text
>Unformatted: