You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/11/14 21:11:29 UTC
[GitHub] [mynewt-core] nkaje opened a new pull request #2094: oc_core:
randomize uuid before use
nkaje opened a new pull request #2094: oc_core: randomize uuid before use
URL: https://github.com/apache/mynewt-core/pull/2094
Initialize the uuid buffer with random values before
passing it to oc_gen_uuid().
This fixes the following warning generated from code coverage analysis.
```
CID 10028 (#1 of 1): Uninitialized scalar variable (UNINIT)10.
uninit_use_in_call: Using uninitialized element of array uuid.id when calling oc_gen_uuid.
```
Signed-off-by: Naveen Kaje <na...@juul.com>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services