Hello community, here is the log from the commit of package stardict-tools checked in at Thu Oct 9 12:12:22 CEST 2008. -------- --- stardict-tools/stardict-tools.changes 2008-04-28 20:35:35.000000000 +0200 +++ /mounts/work_src_done/STABLE/stardict-tools/stardict-tools.changes 2008-10-08 22:35:06.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Oct 8 22:34:57 CEST 2008 - crrodriguez@suse.de + +- fix buffer overflow + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- stardict-tools-3.0.1-destbufferoverflow.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ stardict-tools.spec ++++++ --- /var/tmp/diff_new_pack.u10535/_old 2008-10-09 12:10:17.000000000 +0200 +++ /var/tmp/diff_new_pack.u10535/_new 2008-10-09 12:10:17.000000000 +0200 @@ -2,9 +2,16 @@ # spec file for package stardict-tools (Version 3.0.1) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -14,7 +21,7 @@ Name: stardict-tools Summary: StarDict Editor Version: 3.0.1 -Release: 1 +Release: 56 License: GPL v2 or later Url: http://stardict.sourceforge.net Group: Productivity/Office/Dictionary @@ -23,6 +30,7 @@ Source2: stardict-editor.png Source3: stardict-tools-rpmlintrc Patch1: stardict-tools-3.0.1-includes.patch +Patch2: stardict-tools-3.0.1-destbufferoverflow.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gtk2-devel >= 2.6.0 %if 0%{?suse_version} < 1010 @@ -51,9 +59,10 @@ %prep %setup -q %patch1 -p1 +%patch2 %build -%configure --enable-static=no +%configure --with-pic --disable-static %{__make} %{?jobs:-j%jobs} %install @@ -105,6 +114,8 @@ %{_datadir}/applications/stardict-editor.desktop %changelog +* Thu Oct 09 2008 crrodriguez@suse.de +- fix buffer overflow * Mon Apr 28 2008 lrupp@suse.de - update to 3.0.1: + Network dictionaries support ++++++ stardict-tools-3.0.1-destbufferoverflow.patch ++++++ Index: src/myspell2dic.c =================================================================== --- src/myspell2dic.c.orig 2007-09-07 05:10:45.000000000 +0200 +++ src/myspell2dic.c 2008-10-08 22:23:39.000000000 +0200 @@ -132,7 +132,7 @@ if (argc<3) fprintf(stderr, "Enter grammar language [Spanish]: "); fflush(stderr); -fgets(lang, 100, stdin); +fgets(lang, 50, stdin); if ((p=strchr(lang, '\n'))!=NULL) *p=0; if (*lang==0) strcpy(lang, "Spanish"); Index: src/ooo2dict.c =================================================================== --- src/ooo2dict.c.orig 2007-07-10 09:16:06.000000000 +0200 +++ src/ooo2dict.c 2008-10-08 22:24:23.000000000 +0200 @@ -71,7 +71,7 @@ current2=malloc(10000); fprintf(stderr, "Enter thesaurus language [WordNet_English]: "); fflush(stderr); -fgets(lang, 100, stdin); +fgets(lang, 50, stdin); if ((p=strchr(lang, '\n'))!=NULL) *p=0; if (*lang==0) strcpy(lang, "WordNet_English"); F=fopen((argc>1)? argv[1]: "/usr/share/myspell/dicts/th_en_US_v2.dat", "rt"); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org