Tests: fix: unchecked sscanf return value
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 Apr 2021 15:49:39 +0000 (11:49 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 11 May 2021 15:22:05 +0000 (11:22 -0400)
commit7e295ba7ed0cb70a88278683ed359981054a5e5c
tree8bd7ebeeec62f5f32bbcdf2ed3c3950a88bd74ae
parent4287ce26d07de052721a2c1f9a3e3270cd867450
Tests: fix: unchecked sscanf return value

1407934 Unchecked return value

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

In parse_arguments: 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: I26e4d324c97833acedab4ebd030d412848dcbfe4
tests/regression/tools/notification/base_client.c
This page took 0.025715 seconds and 4 git commands to generate.