rpms/mtools/devel mtools400-rh480112.patch, NONE, 1.1 mtools.spec, 1.40, 1.41
Adam Tkac
atkac at fedoraproject.org
Wed Jan 21 18:41:17 UTC 2009
Author: atkac
Update of /cvs/pkgs/rpms/mtools/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23540
Modified Files:
mtools.spec
Added Files:
mtools400-rh480112.patch
Log Message:
- fixed off-by-two error in unix_name function (#480112)
mtools400-rh480112.patch:
--- NEW FILE mtools400-rh480112.patch ---
diff -up mtools-4.0.0/file_name.c.rh480112 mtools-4.0.0/file_name.c
--- mtools-4.0.0/file_name.c.rh480112 2009-01-21 19:35:08.000000000 +0100
+++ mtools-4.0.0/file_name.c 2009-01-21 19:35:36.000000000 +0100
@@ -145,7 +145,7 @@ void dos_name(doscp_t *toDos, const char
wchar_t *unix_name(doscp_t *dosCp,
const char *base, const char *ext, char Case, wchar_t *ret)
{
- char *s, tname[9], text[4], ans[11];
+ char *s, tname[9], text[4], ans[13];
int i;
strncpy(tname, base, 8);
Index: mtools.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mtools/devel/mtools.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- mtools.spec 12 Jan 2009 14:10:04 -0000 1.40
+++ mtools.spec 21 Jan 2009 18:40:47 -0000 1.41
@@ -1,7 +1,7 @@
Summary: Programs for accessing MS-DOS disks without mounting the disks
Name: mtools
Version: 4.0.0
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2+
Group: Applications/System
Source: http://mtools.linux.lu/mtools-%{version}.tar.bz2
@@ -9,6 +9,7 @@
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: mtools-3.9.6-config.patch
Patch3: mtools-3.9.7-bigdisk.patch
+Patch4: mtools400-rh480112.patch
Requires: info
BuildRequires: texinfo, autoconf
@@ -25,6 +26,7 @@
%setup -q -n %{name}-%{version}
%patch0 -p1
%patch3 -p1 -b .big
+%patch4 -p1 -b .rh480112
# Correct system paths
for all in mtools.5 mtools.texi; do
@@ -69,6 +71,9 @@
%{_infodir}/%{name}.info.gz
%changelog
+* Wed Jan 21 2009 Adam Tkac <atkac redhat com> 4.0.0-3
+- fixed off-by-two error in unix_name function (#480112)
+
* Mon Jan 12 2009 Adam Tkac <atkac redhat com> 4.0.0-2
- don't ship infodir/dir.gz (#478322)
More information about the fedora-extras-commits
mailing list