On 06/ 5/14 04:21 PM, Daniel Stone wrote:
Hi,

On 5 June 2014 15:46, walter harms <[email protected] <mailto:[email protected]>> wrote:

    fix: check for map->num_types overflow
    compiletestested, i have no example to check this condition
    but i guess that this was the original author intended


  This isn't an overflow check, but one to ensure that we always have at least
XkbNumRequiredTypes types in the map.

Right - it looks like we just want to remove the ! from
(!map->num_types < XkbNumRequiredTypes) instead of inverting the check.

--
        -Alan Coopersmith-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to