[PATCH] libx11 xkb/XKBMAlloc.c fix check for map->num_types

walter harms wharms at bfs.de
Fri Jun 6 00:48:02 PDT 2014



Am 06.06.2014 01:21, schrieb Daniel Stone:
> Hi,
> 
> On 5 June 2014 15:46, walter harms <wharms at bfs.de> 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.
> 

hi,
could you create a sample function that shows that ?

re,
 wh


More information about the xorg-devel mailing list