[Xcb] [Bug 71060] xcb-util-cursor trying to create Pixmap of size 0

Michael Stapelberg michael+xcb at stapelberg.de
Thu Nov 7 22:02:16 CET 2013


Hi Uli,

bugzilla-daemon at freedesktop.org writes:
> Anyway, the message about read() made me wonder about short reads, thus my
> first patch adds error checking to all calls to read(). This second patch now
> also checks the result of malloc() (all calloc() calls are already
> checked).
I pushed
http://cgit.freedesktop.org/xcb/util-cursor/commit/?id=c453d4baceaead514c814b825cdd9b517c6bcd8c
to address the read() problems, thanks for your patch.

> @ludovic: Could you test if one of these two patches helps your problem or if I
> am just finding random issues?
>
> Also, perhaps you could run the test program under strace -e trace=file so that
> we can finally figure out which file contains the broken cursor images.
Yes to both, that would be helpful.

-- 
Best regards,
Michael


More information about the Xcb mailing list