[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
rpms/ncpfs/FC-3 ncpfs-2.2.4-overflow2.patch, 1.1, 1.2 ncpfs.spec, 1.16, 1.17
- From: fedora-cvs-commits redhat com
- To: fedora-cvs-commits redhat com
- Subject: rpms/ncpfs/FC-3 ncpfs-2.2.4-overflow2.patch, 1.1, 1.2 ncpfs.spec, 1.16, 1.17
- Date: Tue, 4 Oct 2005 10:07:54 -0400
Author: stransky
Update of /cvs/dist/rpms/ncpfs/FC-3
In directory cvs.devel.redhat.com:/tmp/cvs-serv7976
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-3/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 17 Jun 2005 11:10:58 -0000 1.1
+++ ncpfs-2.2.4-overflow2.patch 4 Oct 2005 14:07:50 -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-3/ncpfs.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ncpfs.spec 17 Jun 2005 11:10:58 -0000 1.16
+++ ncpfs.spec 4 Oct 2005 14:07:50 -0000 1.17
@@ -1,7 +1,7 @@
Summary: Utilities for the ncpfs filesystem, a NetWare client for Linux.
Name: ncpfs
Version: 2.2.4
-Release: 4.FC3.1
+Release: 5.FC3
License: GPL
Source: http://ftp.cvut.cz/ncpfs/ncpfs-%{version}.tar.gz
Patch: ncpfs-2.2.3-fix.patch
@@ -116,6 +116,9 @@
%{_mandir}/man8/ipx*
%changelog
+* Tue Oct 4 2005 Martin Stransky <stransky redhat com> 2.2.4-5.FC3
+- fix for #169080 (buffer overflow detected: ncplogin terminated)
+
* Fri Jun 17 2005 Jiri Ryska <jryska redhat com> 2.2.4-4.FC3.1
- fixed getuid security bug CAN-2005-0014
- fixed security bug CAN-2004-1079
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]