FreeRDP/libfreerdp
ilammy 7a2b6e1301 libfreerdp-core: fix reading TS_ICON_INFO
The spec says that CbColorTable field is present when Bpp is 1, 4, 8.
Actually, bpp == 2 is not supported by TS_ICON_INFO according to the
spec (though, DIB definitely supports 16-color images).

    MS-RDPERP 2.2.1.2.3 Icon Info (TS_ICON_INFO)

    CbColorTable (2 bytes):
        This field is ONLY present if the bits per pixel (Bpp)
        value is 1, 4, or 8.

Omitting 8-bit value breaks 256-color icons which are incorrectly
read with color and alpha data mixed up.
2018-11-14 10:53:45 +01:00
..
cache fix [cache/pointer]: add missing callback checks 2018-10-19 11:13:21 +02:00
codec Merge pull request #4960 from akallabeth/interleaved_fix 2018-11-09 12:25:55 +00:00
common new [crypto/tls]: add support to set tls security level 2018-11-08 11:13:15 +01:00
core libfreerdp-core: fix reading TS_ICON_INFO 2018-11-14 10:53:45 +01:00
crypto Merge pull request #4997 from akallabeth/use_bio_free_all 2018-11-12 13:55:36 +01:00
gdi Fixed compiler warnings (casts, ...) 2018-10-18 09:09:30 +02:00
locale Fixed signedness casts. 2018-10-25 14:08:20 +02:00
primitives Removed use of unchecked sprintf 2018-08-27 14:34:42 +02:00
utils Fixed another bunch of warnings. 2018-10-24 14:36:12 +02:00
CMakeLists.txt Merge pull request #4453 from akallabeth/sound_channel_refactor 2018-05-03 11:56:58 +02:00
freerdp.pc.in Include major version number in library names 2017-01-16 11:11:58 +01:00
FreeRDPConfig.cmake.in cleanup cmake exports and pkg-config files 2016-01-12 17:32:33 +01:00