]> git.ipfire.org Git - thirdparty/json-c.git/commit
json_object_copy_serializer_data(): add assertion 742/head
authorEven Rouault <even.rouault@spatialys.com>
Sun, 16 Jan 2022 19:50:56 +0000 (20:50 +0100)
committerEven Rouault <even.rouault@spatialys.com>
Sun, 16 Jan 2022 19:50:58 +0000 (20:50 +0100)
commit82d94338137ef54123798fcca18da7131b31fec7
treec829a9c7bb3c2a9b683c7d2563bc4a0aee540d76
parent3b4f1e92ad19f0fae5a6c54a904f97225c70cacf
json_object_copy_serializer_data(): add assertion

This makes Coverity Scan happier since it believes that the initial
check ``if (!src->_userdata && !src->_user_delete)`` could mean that
src->_user_data may be nullptr.
json_object.c