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
rasterMar 9 2018, 10:21 PM
Parents
rEf72aa5671d41: ckpasswd: fix build on OpenBSD (typo)
Branches
Unknown
Tags
Unknown
Tasks
T5910: systray related crashes