projects
/
platform
/
upstream
/
libxkbcommon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix overflow issue
[platform/upstream/libxkbcommon.git]
/
src
/
xkbcomp
/
compat.c
diff --git
a/src/xkbcomp/compat.c
b/src/xkbcomp/compat.c
index
9b6f9de
..
44a444c
100644
(file)
--- a/
src/xkbcomp/compat.c
+++ b/
src/xkbcomp/compat.c
@@
-430,6
+430,9
@@
HandleIncludeCompatMap(CompatInfo *info, IncludeStmt *include)
{
CompatInfo included;
+ if (!include)
+ return false;
+
InitCompatInfo(&included, info->ctx, info->actions, &info->mods);
included.name = include->stmt;
include->stmt = NULL;