Each bitmap send by the server contains color depth. Even if we negotiated 8bpp serve...
authorPawel Jakub Dawidek <pawel@dawidek.net>
Tue, 31 Jan 2012 13:33:49 +0000 (14:33 +0100)
committerPawel Jakub Dawidek <pawel@dawidek.net>
Tue, 31 Jan 2012 15:14:54 +0000 (16:14 +0100)
commit19f99d66ba8908aaaf2a1e235b03eca58ed178bb
tree135ca49492f91f726ec14f9ded4de77f9a6cc91c
parentbb61820bfb897773f21262fefa69962f003eb9ad
Each bitmap send by the server contains color depth. Even if we negotiated 8bpp server can send bitmap which has 16bpp.
Fix a crash using bpp to allocate image from the bitmap data instead of negotiated color depth.
client/X11/xf_graphics.c