summaryrefslogtreecommitdiffstats
path: root/src/scrollbar-xterm.C
diff options
context:
space:
mode:
authorsf-exg <sf-exg>2017-07-15 08:16:31 +0000
committersf-exg <sf-exg>2017-07-15 08:16:31 +0000
commit9985cef43bf4500fb135c03b0295c2abe46936c5 (patch)
tree6c8384a94fb0416bf0aca774a08c41f7c566f243 /src/scrollbar-xterm.C
parent87ef54ee2fc42464bc31f12b8fb9ca139ed6b8b1 (diff)
Fix urxvtd crash when using a background expression.
A rxvt_img object contains a pointer to the associated rxvt_screen, which in practice corresponds to the terminal object that created the image. This causes a use-after-free when there are two or more terminal objects sharing a rxvt_img and the one that created it is destroyed. This patch fixes the issue by replacing the rxvt_screen pointer with a pointer to the associated rxvt_display.
Diffstat (limited to 'src/scrollbar-xterm.C')
0 files changed, 0 insertions, 0 deletions