Tiago Vignatti wrote:
> just moved the srv assignment to before it's being used.
> ---
> xkb/xkbout.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/xkb/xkbout.c b/xkb/xkbout.c
> index 68ede90..9daac9a 100644
> --- a/xkb/xkbout.c
> +++ b/xkb/xkbout.c
> @@ -354,7 +354,6 @@ XkbServerMapPtr srv;
> Bool showActions;
>
> map= xkb->map;
> - srv= xkb->server;
> if ((!xkb)||(!map)||(!map->syms)||(!map->key_sym_map)) {
But you're still dereferencing xkb->map before checking xkb is not NULL.
--
-Alan Coopersmith- [email protected]
Oracle Solaris Platform Engineering: X Window System
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel