This commit is contained in:
parent
6c3885ee4c
commit
0b1899d15d
13
mutt-1.5.13-memmove.dif
Normal file
13
mutt-1.5.13-memmove.dif
Normal file
@ -0,0 +1,13 @@
|
||||
--- muttlib.c
|
||||
+++ muttlib.c 2007-05-16 09:26:24.607110614 +0000
|
||||
@@ -537,8 +537,8 @@ char *mutt_gecos_name (char *dest, size_
|
||||
if (dest[idx] == '&')
|
||||
{
|
||||
memmove (&dest[idx + pwnl], &dest[idx + 1],
|
||||
- MAX(destlen - idx - pwnl - 1, 0));
|
||||
- memcpy (&dest[idx], pw->pw_name, MIN(destlen - idx - 1, pwnl));
|
||||
+ MAX((ssize_t)(destlen - idx - pwnl - 1), 0));
|
||||
+ memcpy (&dest[idx], pw->pw_name, MIN((ssize_t)(destlen - idx - 1), pwnl));
|
||||
dest[idx] = toupper ((unsigned char) dest[idx]);
|
||||
}
|
||||
}
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 16 11:29:09 CEST 2007 - werner@suse.de
|
||||
|
||||
- Overflow: don't compare signed with unsigned (bug #275069)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 23 15:03:13 CET 2007 - rguenther@suse.de
|
||||
|
||||
|
@ -24,7 +24,7 @@ Requires: smtp_daemon
|
||||
#Requires: desktop-data-SuSE
|
||||
Autoreqprov: on
|
||||
Version: 1.5.13
|
||||
Release: 52
|
||||
Release: 66
|
||||
Summary: Mail Program
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# ftp://ftp.mutt.org/mutt/devel/
|
||||
@ -44,6 +44,7 @@ Patch5: patch-1.5.5.1.nt.xtitles.3.ab.1
|
||||
Patch6: patch-1.5.13.sidebar.20061023.txt.bz2
|
||||
Patch7: mutt-1.5.13.sidebar-fix.dif
|
||||
Patch8: mutt-1.5.13-opennfs.dif
|
||||
Patch9: mutt-1.5.13-memmove.dif
|
||||
|
||||
%description
|
||||
A very powerful mail user agent. It supports (among other nice things)
|
||||
@ -68,6 +69,7 @@ Authors:
|
||||
%patch6 -p1
|
||||
%patch7 -p0
|
||||
%patch8 -p0
|
||||
%patch9 -p0
|
||||
cp Muttrc Muttrc.SuSE
|
||||
cp %{S:2} .
|
||||
|
||||
@ -157,6 +159,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%config(noreplace) /etc/Muttrc
|
||||
|
||||
%changelog
|
||||
* Wed May 16 2007 - werner@suse.de
|
||||
- Overflow: don't compare signed with unsigned (bug #275069)
|
||||
* Fri Mar 23 2007 - rguenther@suse.de
|
||||
- add gdbm-devel and ncurses-devel BuildRequires
|
||||
* Mon Feb 26 2007 - stbinner@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user