UpdateAllFields method causes StackOverlfowException when:
- there are two TOC fields in the document with specific location (no paragraphs between the two fields)
- when merge fields containing new lines ('\r\n') are updated.
UpdatField method causes StackOverlfowException in the IntervalTree class when:
- A TOC field is updated and the field contains field separator (<w:fldChar w:fldCharType="separate"/>) in its definition. The exception is reproducible when there are section breaks before the TOC.
Fix available in LIB Version 2017.2.627.