[PATCH] xkb: when copying sections, make sure num_rows is set too.
Daniel Stone
daniel at fooishbar.org
Tue Feb 5 00:02:20 PST 2008
On Tue, Feb 05, 2008 at 06:00:55PM +1030, Peter Hutterer wrote:
> I'm trying to find a nasty bug in MPX and while doing so I stumbled
> across the following issue. when copying the keymap, we copy the rows
> but don't update the num_rows on the dst.
>
> Turns out that if this patch is applied, my code still segfaults but
> somewhere else and it looks more sane now...
>
> I'm not sure if the following patch is correct though. Please review.
Hrngh, I swear this was already fixed. Looks correct to me, in both
master and 1.4. Thanks.
Cheers,
Daniel
-------------- 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/20080205/1e0a20a4/attachment.pgp>
More information about the xorg
mailing list