Temporary crash patch.
This commit is contained in:
parent
a6870ac619
commit
e777027871
11
inkscape-0.92.3-out-of-bounds.patch
Normal file
11
inkscape-0.92.3-out-of-bounds.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/libnrtype/Layout-TNG-OutIter.cpp~ 2018-12-04 08:57:55.000000000 -0600
|
||||
+++ src/libnrtype/Layout-TNG-OutIter.cpp 2019-01-11 08:22:33.026490234 -0600
|
||||
@@ -26,7 +26,7 @@
|
||||
double best_x_difference = DBL_MAX;
|
||||
|
||||
if (char_index == _characters.size()) return end();
|
||||
- for ( ; char_index < _characters.size() ; char_index++) {
|
||||
+ for ( ; char_index + 1 < _characters.size() ; char_index++) {
|
||||
if (_characters[char_index].chunk(this).in_line != line_index) break;
|
||||
if (_characters[char_index].char_attributes.is_mandatory_break) break;
|
||||
if (!_characters[char_index].char_attributes.is_cursor_position) continue;
|
@ -21,6 +21,7 @@ Patch1: inkscape-python2.patch
|
||||
|
||||
Patch2: inkscape-0.92.3-poppler-0.64.patch
|
||||
Patch3: inkscape-0.92.3-poppler-0.65.patch
|
||||
Patch4: inkscape-0.92.3-out-of-bounds.patch
|
||||
|
||||
Provides: bundled(libcroco)
|
||||
Provides: bundled(libgdl)
|
||||
@ -118,6 +119,7 @@ graphics in W3C standard Scalable Vector Graphics (SVG) file format.
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p0
|
||||
pathfix.py -pni "%{__python2} %{py2_shbang_opts}" .
|
||||
|
||||
# https://bugs.launchpad.net/inkscape/+bug/314381
|
||||
@ -227,6 +229,9 @@ pathfix.py -pni "%{__python2} %{py2_shbang_opts}" $RPM_BUILD_ROOT%{_datadir}/ink
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 11 2019 Gwyn Ciesla <limburgher@gmail.com> - 0.92.3-9
|
||||
- Patch for out of bounds.
|
||||
|
||||
* Tue Dec 04 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.92.3-8
|
||||
- Add bundled provides.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user