When compiling libva-1.4.1 I found an undefined behavior detected by gcc in a while loop which I reported upstream via their mailing list. They fixed it in git, but it may be important since it involves a possible out of bounds access to an array, so I post here if you think it is important to apply a patch before they release a new version. The message I got in Gentoo was: * /var/tmp/portage/x11- libs/libva-1.4.1/work/libva-1.4.1/va/x11/va_dricommon.c:90:46: warning: iteration 31u invokes undefined behavior [-Waggressive-loop-optimizations] The patch can be found at: http://cgit.freedesktop.org/libva/commit/va/x11/va_dricommon.c?id=ddbb8fc9279233277497350846c7d57fe5a9b1de Feel free to close as invalid if you think it is not worth adding the patch and is better to wait until official release of new version containing the fix (because the bug do not seem to cause trobles, or at least, not easily reproducible troubles)
seems fixed in 1.5.0