Hello community, here is the log from the commit of package mutt checked in at Thu May 17 11:46:19 CEST 2007. -------- --- mutt/mutt.changes 2007-03-23 15:03:32.000000000 +0100 +++ /mounts/work_src_done/STABLE/mutt/mutt.changes 2007-05-16 11:30:13.919441000 +0200 @@ -1,0 +2,5 @@ +Wed May 16 11:29:09 CEST 2007 - werner@suse.de + +- Overflow: don't compare signed with unsigned (bug #275069) + +------------------------------------------------------------------- New: ---- mutt-1.5.13-memmove.dif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mutt.spec ++++++ --- /var/tmp/diff_new_pack.w14600/_old 2007-05-17 11:45:23.000000000 +0200 +++ /var/tmp/diff_new_pack.w14600/_new 2007-05-17 11:45:23.000000000 +0200 @@ -24,7 +24,7 @@ #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 @@ 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 @@ %patch6 -p1 %patch7 -p0 %patch8 -p0 +%patch9 -p0 cp Muttrc Muttrc.SuSE cp %{S:2} . @@ -157,6 +159,8 @@ %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 ++++++ mutt-1.5.13-memmove.dif ++++++ --- 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]); } } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de