Red Hat Bugzilla – Bug 140095
terminal->pvt->has_selection && terminal->pvt->selection != NULL invariant being broken.
Last modified: 2007-11-30 17:10:55 EST
When accidentally pasting a large amount of text and dragging, vte
crashed when trying to do a strcmp with terminal->pvt->selection.
has_selection is true so I need to investigate how the two variables
got out of sync.
I "fixed" this by setting ->has_selection to true after setting ->selection AND
checking ->selection before doing strcmp.