rpms/rsh/devel netkit-rsh-0.17-longname.patch, NONE, 1.1 rsh.spec, 1.43, 1.44
Adam Tkac (atkac)
fedora-extras-commits at redhat.com
Thu Mar 27 16:07:59 UTC 2008
- Previous message (by thread): rpms/filesystem/devel filesystem.spec, 1.42, 1.43 lang-exceptions, 1.1, 1.2
- Next message (by thread): rpms/kernel/devel patch-2.6.25-rc7-git2.bz2.sign, NONE, 1.1 .cvsignore, 1.791, 1.792 kernel.spec, 1.548, 1.549 sources, 1.750, 1.751 upstream, 1.671, 1.672 patch-2.6.25-rc7-git1.bz2.sign, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: atkac
Update of /cvs/pkgs/rpms/rsh/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13560
Modified Files:
rsh.spec
Added Files:
netkit-rsh-0.17-longname.patch
Log Message:
- in.rexecd username limit was 14 characters, not 16
netkit-rsh-0.17-longname.patch:
--- NEW FILE netkit-rsh-0.17-longname.patch ---
diff -up netkit-rsh-0.17/rexecd/rexecd.c.longname netkit-rsh-0.17/rexecd/rexecd.c
--- netkit-rsh-0.17/rexecd/rexecd.c.longname 2008-03-27 16:12:22.000000000 +0100
+++ netkit-rsh-0.17/rexecd/rexecd.c 2008-03-27 16:41:46.000000000 +0100
@@ -236,7 +236,7 @@ static void
doit(struct sockaddr_in *fromp)
{
char cmdbuf[ARG_MAX+1];
- char user[16], pass[16];
+ char user[17], pass[17];
struct passwd *pwd;
int s = -1;
u_short port;
@@ -468,10 +468,10 @@ getstr(char *buf, int cnt, const char *e
do {
if (read(0, &c, 1) != 1)
exit(1);
- *buf++ = c;
- if (--cnt <= 0) {
+ if (--cnt < 0) {
fatal(err);
}
+ *buf++ = c;
} while (c != 0);
}
Index: rsh.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rsh/devel/rsh.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- rsh.spec 25 Mar 2008 14:15:44 -0000 1.43
+++ rsh.spec 27 Mar 2008 16:07:20 -0000 1.44
@@ -1,7 +1,7 @@
Summary: Clients for remote access commands (rsh, rlogin, rcp).
Name: rsh
Version: 0.17
-Release: 47%{?dist}
+Release: 48%{?dist}
License: BSD
Group: Applications/Internet
@@ -54,6 +54,7 @@
Patch33: netkit-rsh-0.17-dns.patch
Patch34: netkit-rsh-0.17-nohostcheck-compat.patch
Patch35: netkit-rsh-0.17-audit.patch
+Patch36: netkit-rsh-0.17-longname.patch
%description
The rsh package contains a set of programs which allow users to run
@@ -118,6 +119,7 @@
%patch33 -p1 -b .dns
%patch34 -p1 -b .compat
%patch35 -p1 -b .audit
+%patch36 -p1 -b .longname
# No, I don't know what this is doing in the tarball.
rm -f rexec/rexec
@@ -186,6 +188,9 @@
%{_mandir}/man8/*.8*
%changelog
+* Thu Mar 27 2008 Adam Tkac <atkac redhat com> 0.17-48
+- in.rexecd username limit was 14 characters, not 16
+
* Tue Mar 25 2008 Adam Tkac <atkac redhat com> 0.17-47
- fixed NULL pointer dereference (#437815)
- cleanup in audit patch
- Previous message (by thread): rpms/filesystem/devel filesystem.spec, 1.42, 1.43 lang-exceptions, 1.1, 1.2
- Next message (by thread): rpms/kernel/devel patch-2.6.25-rc7-git2.bz2.sign, NONE, 1.1 .cvsignore, 1.791, 1.792 kernel.spec, 1.548, 1.549 sources, 1.750, 1.751 upstream, 1.671, 1.672 patch-2.6.25-rc7-git1.bz2.sign, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list