Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | #include "includes.h" | - |
18 | | - |
19 | #include <stdlib.h> | - |
20 | #include <string.h> | - |
21 | | - |
22 | #ifndef HAVE_FREEZERO | - |
23 | | - |
24 | void | - |
25 | freezero(void *ptr, size_t sz) | - |
26 | { | - |
27 | if (ptr == NULL)TRUE | evaluated 97240 times by 5 testsEvaluated by:- ssh-keygen
- sshd
- test_hostkeys
- test_kex
- test_sshkey
| FALSE | evaluated 405183 times by 5 testsEvaluated by:- ssh-keygen
- sshd
- test_hostkeys
- test_kex
- test_sshkey
|
| 97240-405183 |
28 | return;executed 97240 times by 5 tests: return; Executed by:- ssh-keygen
- sshd
- test_hostkeys
- test_kex
- test_sshkey
| 97240 |
29 | explicit_bzero(ptr, sz); | - |
30 | free(ptr); | - |
31 | }executed 405183 times by 5 tests: end of block Executed by:- ssh-keygen
- sshd
- test_hostkeys
- test_kex
- test_sshkey
| 405183 |
32 | | - |
33 | #endif /* HAVE_FREEZERO */ | - |
34 | | - |
| | |