rpms/ncpfs/FC-4 ncpfs-2.2.4-overflow2.patch, 1.1, 1.2 ncpfs.spec, 1.18, 1.19

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Oct 4 13:58:53 UTC 2005


Author: stransky

Update of /cvs/dist/rpms/ncpfs/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv6269

Modified Files:
	ncpfs-2.2.4-overflow2.patch ncpfs.spec 
Log Message:
fix for #169080 (buffer overflow detected: ncplogin terminated)

ncpfs-2.2.4-overflow2.patch:
 ncplogin.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

Index: ncpfs-2.2.4-overflow2.patch
===================================================================
RCS file: /cvs/dist/rpms/ncpfs/FC-4/ncpfs-2.2.4-overflow2.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ncpfs-2.2.4-overflow2.patch	19 May 2005 15:54:55 -0000	1.1
+++ ncpfs-2.2.4-overflow2.patch	4 Oct 2005 13:58:49 -0000	1.2
@@ -6,7 +6,7 @@
                  /* we DID check in main that -V has been specified !*/
 -                strcpy(tmpNWPath,info->remote_path);
 +                memset(tmpNWPath,0,sizeof(tmpNWPath));
-+                strncpy(tmpNWPath,sizeof(tmpNWPath)-1,(info->remote_path));
++                strncpy(tmpNWPath,info->remote_path,sizeof(tmpNWPath)-1);
                  if (info->root_path) {
 -                        strcat(tmpNWPath,"/");
 -                        strcat(tmpNWPath,info->root_path);


Index: ncpfs.spec
===================================================================
RCS file: /cvs/dist/rpms/ncpfs/FC-4/ncpfs.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ncpfs.spec	19 May 2005 15:54:55 -0000	1.18
+++ ncpfs.spec	4 Oct 2005 13:58:49 -0000	1.19
@@ -1,7 +1,7 @@
 Summary: Utilities for the ncpfs filesystem, a NetWare client for Linux.
 Name: ncpfs
 Version:  2.2.4
-Release: 8
+Release: 9
 License:  GPL
 Source: http://ftp.cvut.cz/ncpfs/ncpfs-%{version}.tar.gz
 Patch: ncpfs-2.2.3-fix.patch
@@ -118,6 +118,9 @@
 %{_mandir}/man8/ipx*
 
 %changelog
+* Tue Oct 4 2005 Martin Stransky <stransky at redhat.com> 2.2.4-9
+- fix for #169080 (buffer overflow detected: ncplogin terminated)
+
 * Thu May 19 2005 Jiri Ryska <jryska at redhat.com>
 - fixed possible buffer overflow CAN-2005-0014
 




More information about the fedora-cvs-commits mailing list