Reliable crash if atk_text_get_text() is called on icon with end_offset of -1
Steps to reproduce:
- Launch the attached pyatspi accessible-event listener in a terminalcrash-nautilus.py
- Launch Nautilus and be sure you're in icon view
- Click on an icon
Expected results: Nautilus would not crash.
Actual results: Nautilus reliably crashes.
end_offset: end position, or -1 for the end of the string.
If the character count is used instead, the crash doesn't happen.
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information