crash in geany with vte trunk
@chpe
Submitted by Christian Persch Link to original bug (#540182)
Description
Steps: 0) Start geany
- On the notebook at the bottom, click the down arrow until the vte tab is shown
- Move mouse over the vte widget
Program received signal SIGSEGV, Segmentation fault.
0xb6d3a71c in vte_terminal_match_hilite_update (terminal=0x83e5c00, x=18, y=106) at vte.c:5462
5462 if (start < terminal->pvt->match_attributes->len) {
(gdb) where
`#0` 0xb6d3a71c in vte_terminal_match_hilite_update (terminal=0x83e5c00, x=18, y=106) at vte.c:5462
`#1` 0xb6d3aa44 in vte_terminal_match_hilite (terminal=0x83e5c00, x=18, y=106) at vte.c:5543
`#2` 0xb6d3d77c in vte_terminal_motion_notify (widget=0x83e5c00, event=0x8b4c4f8) at vte.c:6666
terminal->pvt->match_attributes is NULL, so ->len crashes.
Regression from bug 418918; ok to commit the attached patch?
Resolution: RESOLVED FIXED