projects
/
platform
/
upstream
/
at-spi2-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e73668
)
[prevent][42870] Fix for null pointer dereference
88/172888/2
author
Paweł Stawicki
<p.stawicki@samsung.com>
Fri, 16 Mar 2018 12:05:20 +0000
(13:05 +0100)
committer
Lukasz Oleksak
<l.oleksak@samsung.com>
Tue, 20 Mar 2018 13:30:57 +0000
(13:30 +0000)
Change-Id: I74e51363d0e6ec34e9b771f605d283f1311af803
test/at_spi2_tool.c
patch
|
blob
|
history
diff --git
a/test/at_spi2_tool.c
b/test/at_spi2_tool.c
index
d7b91d5
..
63a3adb
100644
(file)
--- a/
test/at_spi2_tool.c
+++ b/
test/at_spi2_tool.c
@@
-323,10
+323,10
@@
static char *_get_info(AtspiAccessible *node, int length_limit, bool *attributes
unique_id, (uintptr_t)eo_ptr,
node_role_name,
attributes,
- box_size
->x
,
- box_size
->y
,
- box_size
->width
,
- box_size
->height
,
+ box_size
? box_size->x : "nil"
,
+ box_size
? box_size->y : "nil"
,
+ box_size
? box_size->width : "nil"
,
+ box_size
? box_size->height : "nil"
,
node_name,
states,
current_node_has_relations ? "*" : "");