OpenCoverage

freezero.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/freezero.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7void-
8freezero(void *ptr, size_t sz)-
9{-
10 if (ptr ==
ptr == ((void *)0)Description
TRUEevaluated 97240 times by 5 tests
Evaluated by:
  • ssh-keygen
  • sshd
  • test_hostkeys
  • test_kex
  • test_sshkey
FALSEevaluated 405183 times by 5 tests
Evaluated by:
  • ssh-keygen
  • sshd
  • test_hostkeys
  • test_kex
  • test_sshkey
97240-405183
11 ((void *)0)
ptr == ((void *)0)Description
TRUEevaluated 97240 times by 5 tests
Evaluated by:
  • ssh-keygen
  • sshd
  • test_hostkeys
  • test_kex
  • test_sshkey
FALSEevaluated 405183 times by 5 tests
Evaluated by:
  • ssh-keygen
  • sshd
  • test_hostkeys
  • test_kex
  • test_sshkey
97240-405183
12 )-
13 return;
executed 97240 times by 5 tests: return;
Executed by:
  • ssh-keygen
  • sshd
  • test_hostkeys
  • test_kex
  • test_sshkey
97240
14 explicit_bzero(ptr, sz);-
15 free(ptr);-
16}
executed 405183 times by 5 tests: end of block
Executed by:
  • ssh-keygen
  • sshd
  • test_hostkeys
  • test_kex
  • test_sshkey
405183
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.2