forked from pool/hunspell
Accepting request 1003035 from home:dirkmueller:Factory
- update to 1.7.1: * Merge chromium fix for #714 OOB string write in hunspell * Merge firefox fix for #756 various issues parsing incomplete aff files * Fix #492 crash with hunspell -l -r * Merge in weblate translations - drop hunspell-CVE-2019-16707.patch (upstream) OBS-URL: https://build.opensuse.org/request/show/1003035 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/hunspell?expand=0&rev=70
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bb27b86eb910a8285407cf3ca33b62643a02798cf2eef468c0a74f6c3ee6bc8a
|
||||
size 482156
|
3
hunspell-1.7.1.tar.gz
Normal file
3
hunspell-1.7.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6e3557624c608b3e6525b8bd277706db4f5a857c28fdb3cfa8d0d2b67776da8a
|
||||
size 526464
|
@@ -1,14 +0,0 @@
|
||||
diff --git a/src/hunspell/suggestmgr.cxx b/src/hunspell/suggestmgr.cxx
|
||||
index dba084e9..c23f165a 100644
|
||||
--- a/src/hunspell/suggestmgr.cxx
|
||||
+++ b/src/hunspell/suggestmgr.cxx
|
||||
@@ -2040,7 +2040,7 @@ int SuggestMgr::leftcommonsubstring(
|
||||
int l2 = su2.size();
|
||||
// decapitalize dictionary word
|
||||
if (complexprefixes) {
|
||||
- if (su1[l1 - 1] == su2[l2 - 1])
|
||||
+ if (l1 && l2 && su1[l1 - 1] == su2[l2 - 1])
|
||||
return 1;
|
||||
} else {
|
||||
unsigned short idx = su2.empty() ? 0 : (su2[0].h << 8) + su2[0].l;
|
||||
|
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 12 19:04:24 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.7.1:
|
||||
* Merge chromium fix for #714 OOB string write in hunspell
|
||||
* Merge firefox fix for #756 various issues parsing incomplete aff files
|
||||
* Fix #492 crash with hunspell -l -r
|
||||
* Merge in weblate translations
|
||||
- drop hunspell-CVE-2019-16707.patch (upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 10 08:55:30 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
%define ver 1.7
|
||||
%define libname lib%{name}-1_7-0
|
||||
Name: hunspell
|
||||
Version: 1.7.0
|
||||
Version: 1.7.1
|
||||
Release: 0
|
||||
Summary: A spell checker and morphological analyzer library
|
||||
License: (GPL-2.0-or-later OR LGPL-2.1-or-later OR MPL-1.1+) AND LGPL-2.1-or-later
|
||||
@@ -27,8 +27,6 @@ Group: Productivity/Office/Other
|
||||
URL: https://hunspell.github.io
|
||||
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
# CVE-2019-16707 [bsc#1151867], invalid read operation in SuggestMgr:leftcommonsubstring in suggestmgr.cxx
|
||||
Patch0: hunspell-CVE-2019-16707.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: bison
|
||||
@@ -84,7 +82,6 @@ Includes and definitions for developing with hunspell.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
# latest released tarball does not contain generated configure
|
||||
|
Reference in New Issue
Block a user