Fix text crash.
This commit is contained in:
parent
35749e72e2
commit
84f2f3fba6
11
inkscape-0.92.3-1575842.patch
Normal file
11
inkscape-0.92.3-1575842.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/libnrtype/Layout-TNG-OutIter.cpp~ 2018-03-11 16:38:09.000000000 -0400
|
||||
+++ src/libnrtype/Layout-TNG-OutIter.cpp 2018-06-16 13:17:03.129605681 -0400
|
||||
@@ -182,6 +182,8 @@
|
||||
if (_input_stream[source_index]->Type() != TEXT_SOURCE)
|
||||
return iterator(this, char_index);
|
||||
|
||||
+ if (char_index >= _characters.size())
|
||||
+ return end();
|
||||
return iterator(this, char_index);
|
||||
/* This code was never used, the text_iterator argument was "NULL" in all calling code
|
||||
InputStreamTextSource const *text_source = static_cast<InputStreamTextSource const *>(_input_stream[source_index]);
|
||||
@ -1,6 +1,6 @@
|
||||
Name: inkscape
|
||||
Version: 0.92.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Vector-based drawing program using SVG
|
||||
|
||||
License: GPLv2+ and CC-BY
|
||||
@ -15,6 +15,7 @@ Source1: %{name}.appdata.xml
|
||||
Source2: Fedora-Color-Palette.gpl
|
||||
# https://gitlab.com/inkscape/inkscape/commit/9418824967eb4c53371ef8588243fed4cab496e0
|
||||
#Patch0: 0001-adapt-to-poppler-0.58.patch
|
||||
Patch0: inkscape-0.92.3-1575842.patch
|
||||
|
||||
BuildRequires: aspell-devel aspell-en
|
||||
BuildRequires: atk-devel
|
||||
@ -105,7 +106,7 @@ graphics in W3C standard Scalable Vector Graphics (SVG) file format.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#%%patch0 -p1 -b.poppler
|
||||
%patch0 -p0
|
||||
|
||||
# https://bugs.launchpad.net/inkscape/+bug/314381
|
||||
# A couple of files have executable bits set,
|
||||
@ -212,6 +213,9 @@ install -pm 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/inkscape/palettes/
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jun 27 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.92.3-2
|
||||
- Fix for crash, 1575842.
|
||||
|
||||
* Tue Apr 17 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.92.3-1
|
||||
- 0.92.3.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user