Tests: test_uuid: unchecked return value
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 14 Jun 2022 14:56:35 +0000 (10:56 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 15 Jun 2022 15:07:45 +0000 (11:07 -0400)
commitb60adc34d7bdb6f1a36a8ea45164942ab54e4bbe
treeaeb7cb9a49effa9612693523f59b4b5bca9efb61
parentaf8c83b633edbc8187cff754c175d696be31cdf1
Tests: test_uuid: unchecked return value

1490026 Unchecked return value
If the function returns an error value, the error value may be mistaken
for a normal value.

In run_test_lttng_uuid_is_equal(): Value returned from a function is not
checked for errors before being used (CWE-252)

Reported-by: Coverity Scan
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Id9558a07ebcc47f5630deed32f5a457ba002bfe6
tests/unit/test_uuid.cpp
This page took 0.025576 seconds and 4 git commands to generate.