Avoid possible null pointer dereference by moving 'vocs->conn = conn' after null check on 'vocs' in bt_vocs_discover(). Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| uut | ||
| CMakeLists.txt | ||
| prj.conf | ||
| testcase.yaml | ||
Avoid possible null pointer dereference by moving 'vocs->conn = conn' after null check on 'vocs' in bt_vocs_discover(). Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| uut | ||
| CMakeLists.txt | ||
| prj.conf | ||
| testcase.yaml | ||