patch 9.2.0679: [security]: Out-of-bounds read with text property virtual text
Problem: [security]: Out-of-bounds read with text property virtual text.
A crafted undo file can declare a virtual-text property whose
offset points outside the line's property data, so reading the
virtual text reads out of bounds. This completes the count-only
check added in 9.2.0670.
Solution: Validate the virtual-text offset and length of each property
against the available property data before turning the offset
into a pointer.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Hirohito Higashi <h.east.727@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>