HomePhabricator

e systray/indicator protocol pixmap data fetch fix

Authored by raster on Mar 9 2018, 10:21 PM.

Description

e systray/indicator protocol pixmap data fetch fix

this fixes several issues in the pixmap data fetching

  1. it over-read the input buffer assuming ints count instead it has

byte count for length

  1. it would leak memory if you have multiple pixmaps and the largest

was not the first found.

  1. it always swapped pixel bytes instead of only on little endian.

this should fix T5910

Details

Committed
simotekMar 12 2018, 7:55 PM
Parents
rE348e57123c35: remove adding theme extension for "default" theme on startup
Branches
Unknown
Tags
Unknown
Tasks
T5910: systray related crashes