Hello community, here is the log from the commit of package mtools for openSUSE:Factory checked in at Tue Mar 22 17:55:25 CET 2011. -------- --- mtools/mtools.changes 2010-11-16 12:00:47.000000000 +0100 +++ /mounts/work_src_done/STABLE/mtools/mtools.changes 2011-03-17 11:11:48.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Mar 17 11:13:49 CET 2011 - pgajdos@suse.cz + +- fixed crash caused with access of invalid memory [bnc#679459] + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- mtools-4.0.15-invalid-memory.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mtools.spec ++++++ --- /var/tmp/diff_new_pack.PnXyJQ/_old 2011-03-22 17:54:55.000000000 +0100 +++ /var/tmp/diff_new_pack.PnXyJQ/_new 2011-03-22 17:54:55.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package mtools (Version 4.0.15) +# spec file for package mtools # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ Name: mtools BuildRequires: libpng texlive-latex xorg-x11 xorg-x11-devel Version: 4.0.15 -Release: 1 +Release: 7 AutoReqProv: on Group: System/Filesystems License: GPLv2+ @@ -33,6 +33,7 @@ Patch3: %{name}-%{version}-aliasing.diff Patch4: %{name}-%{version}-fat-bits.diff Patch5: %{name}-%{version}-prototypes.diff +Patch6: %{name}-%{version}-invalid-memory.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -93,6 +94,7 @@ %patch3 %patch4 %patch5 +%patch6 -p1 %build %{suse_update_config -f} ++++++ mtools-4.0.15-invalid-memory.diff ++++++ Index: mtools-4.0.15/fat.c =================================================================== --- mtools-4.0.15.orig/fat.c +++ mtools-4.0.15/fat.c @@ -468,7 +468,7 @@ void fat_write(Fs_t *This) set_dword(infoSector->signature2, INFOSECT_SIGNATURE2); set_dword(infoSector->pos, This->last); set_dword(infoSector->count, This->freeSpace); - set_dword(infoSector->signature3, 0xaa55); + set_word(infoSector->signature3, 0xaa55); if(forceWriteSector(This, (char *)infoSector, This->infoSectorLoc, 1) != (signed int) This->sector_size) fprintf(stderr,"Trouble writing the info sector\n"); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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