[fwd] Debian Bug report logs - #414045 - BREAKS XLIB

Daniel Stone daniel at fooishbar.org
Mon Oct 22 02:40:15 PDT 2007

On Mon, Oct 22, 2007 at 10:01:02AM +0200, (not Julien Cristau) wrote:
> Sorry if this is not the right way of contacting you - I'm not sure
> where to go with this one.
> The "fix" made to XCreateImage breaks the protocol between client and
> Xlib because the extended test makes a wrong assumption.
> XCreateImage now compares the servers bits-per-pixel with the
> bits_per_pixel in the supplied image (for ZPixmap). 
> In our case we have code using 24 bits_per_pixel for depth 24 images (3
> bytes per pixel). Many X servers use 32 bits_per_pixel for depth 24
> pixmaps.
> The "fix" now require that image data MUST use the same bits_per_pixel
> as the X-server!
> We have had a lot of problems as the "fix" is being distributed as part
> of Sun Solaris security updates!

So you'd like to create images with a different bpp, but equal depth
(e.g. packed 24)?  Good catch on the memory leak, though.

Can you elaborate more on why the 'bits_per_line < min_bits_per_line'
test is wrong?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20071022/09416b04/attachment.pgp>

More information about the xorg mailing list