summaryrefslogtreecommitdiff
path: root/tests/testoverlay.c
diff options
context:
space:
mode:
authorDaniel Boles <dboles@src.gnome.org>2017-08-01 20:41:23 +0100
committerDaniel Boles <dboles@src.gnome.org>2017-08-01 20:45:07 +0100
commit2b7db2376c54aa2c799c5bcb764fd888562c2dd3 (patch)
treeb56086f75da15ff5aad1956f23e714535b65714e /tests/testoverlay.c
parent79bbd4aca5be5dd702d9b484b06f65b8bf7a1b2d (diff)
downloadgtk+-2b7db2376c54aa2c799c5bcb764fd888562c2dd3.tar.gz
bindings: Avoid iterating array if it is never set
If query.return_type is not one we want, binding_compose_params() is not called, and so params remains a NULL pointer. However, the code was then unconditionally iterating it regardless. Don't if it is still NULL. CID 1452218 (#1 of 1): Explicit null dereferenced (FORWARD_NULL) 15. var_deref_op: Dereferencing null pointer params.
Diffstat (limited to 'tests/testoverlay.c')
0 files changed, 0 insertions, 0 deletions