fix out of range
This commit is contained in:
parent
c7f444a2c4
commit
e40b38c767
@ -12,8 +12,8 @@
|
||||
+ else {
|
||||
+ int len = strlen(dicname);
|
||||
+ for (int i = 0; i < len; ++i) {
|
||||
+ if ((dicname[i] == '_') && (i+2 < len)) {
|
||||
+ dicname[i+2] = 0;
|
||||
+ if ((dicname[i] == '_') && (i+3 < len)) {
|
||||
+ dicname[i+3] = 0;
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
|
@ -1,7 +1,7 @@
|
||||
Name: hunspell
|
||||
Summary: Hunspell is a spell checker and morphological analyzer library
|
||||
Version: 1.1.4
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Group: System Environment/Libraries
|
||||
URL: http://hunspell.sourceforge.net/
|
||||
@ -81,6 +81,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_bindir}/unmunch
|
||||
|
||||
%changelog
|
||||
* Thu Jan 11 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.4-4
|
||||
- fix out of range
|
||||
|
||||
* Fri Dec 15 2006 Caolan McNamara <caolanm@redhat.com> - 1.1.4-3
|
||||
- hunspell#1616353 simple c api for hunspell
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user