Put a patch back.
This commit is contained in:
parent
df05ce6a08
commit
b916fa2b74
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]);
|
Loading…
Reference in New Issue
Block a user