• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stefanberger / libtpms
78%
master: 77%

Build:
Build:
LAST BUILD BRANCH: HEAD
DEFAULT BRANCH: master
Repo Added 23 Oct 2018 06:58PM UTC
Files 521
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix_s390x
branch: fix_s390x
CHANGE BRANCH
x
Reset
  • fix_s390x
  • HEAD
  • ac_link_ifelse
  • autoconf_check_defines
  • cflags_wmissing_prototypes
  • configure_with_tpm2_default
  • constant_time
  • coverity-fixes
  • coverity_scan
  • cpp_coveralls
  • cpp_coveralls.dashb
  • cppcheck
  • dcache
  • dynamic_hlk_compliance
  • ecc_consttime
  • ecc_fixes
  • extend_context_gap
  • fix_304
  • fix_fortify_source
  • fix_issue_195
  • fix_json
  • fix_nistp521_parameter_reporting
  • fix_readme
  • fix_rsa_decrypt_stack_smash
  • fix_tpm2_contextsave
  • fuzzer-data
  • hlk_compliant
  • libtpms_added
  • man_page_cleanup
  • master
  • master.autoupdate
  • master.coverity
  • master.fixes
  • master.fuzzer
  • master.next
  • master.next,rhel6
  • master.next.rsa
  • master.ossl3
  • master.sm4-getsymtestdata
  • move-to-buildsys
  • nvmarshal_typos
  • pure_openssl
  • pure_openssl_rsa_crt
  • pure_openssl_seeds
  • rev155
  • rev159
  • rev162
  • rev164
  • rsa_3072
  • rsa_pkcs1_returnvalue
  • silent_rules
  • stable-0.6.0
  • stable-0.6.0-compile-fixes
  • stable-0.6.0-fix_issue_195
  • stable-0.6.0.next
  • stable-0.7.0
  • stable-0.7.0-constanttime
  • stable-0.7.0-ecc_consttime
  • stable-0.7.0-fix_issue_195
  • stable-0.7.0-fix_nistp521_parameter_reporting
  • stable-0.7.0.next
  • stable-0.7.0_fix_iv
  • stable-0.8
  • stable-0.8-erroneous-gitignore
  • stable-0.8-fix_issue_195
  • stable-0.8.next
  • stable-0.8.next.ossl3
  • stable-0.8_fix_iv
  • stable-0.9
  • stable-0.9.next
  • stefanberger/add_sm4_to_json
  • stefanberger/coverity_fixes
  • stefanberger/do_not_write_permanent_state_if_only_clock_changed
  • stefanberger/enable_camellia
  • stefanberger/extend_context_gap
  • stefanberger/openssl3-helpers-part1
  • stefanberger/openssl3-helpers-part2
  • stefanberger/prepare-0.9-release
  • stefanberger/tpm12_coverity
  • travis
  • ubsan
  • v0.6.1
  • v0.6.2
  • v0.6.3
  • v0.6.4
  • v0.6.5
  • v0.6.6
  • v0.7.0
  • v0.7.1
  • v0.7.10
  • v0.7.2
  • v0.7.3
  • v0.7.4
  • v0.7.5
  • v0.7.6
  • v0.7.7
  • v0.7.8
  • v0.7.9
  • v0.8.0
  • v0.8.1
  • v0.8.2
  • v0.8.3
  • v0.8.4
  • v0.8.5
  • v0.8.6
  • v0.8.7
  • v0.9.0
  • v0.9.1
  • v0.9.2
  • v0.9.3
  • v0.9.4

pending completion
1593

push

travis-ci

stefanberger
tpm2: Fix compilation error in TPM2B_CREATION_DATA_Marshal (Fedora 32/s390x)

This patch fixes the following compilation error on Fedora 32 / s390x:

tpm2/Marshal.c: In function 'TPM2B_CREATION_DATA_Marshal':
tpm2/Marshal.c:95:19: error: 'sizePtr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   95 |      (*buffer)[0] = (BYTE)((*source >> 8) & 0xff);
      |      ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tpm2/Marshal.c:2201:11: note: 'sizePtr' was declared here
 2201 |     BYTE *sizePtr;
      |           ^~~~~~~

The error is a false positive since sizePtr will have been initialized if
UINT16_Marshal() is called.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>

1 of 1 new or added line in 1 file covered. (100.0%)

28861 of 37215 relevant lines covered (77.55%)

85070.52 hits per line

Relevant lines Covered
Build:
Build:
37215 RELEVANT LINES 28861 COVERED LINES
85070.52 HITS PER LINE
Source Files on fix_s390x
  • Tree
  • List 450
  • Changed 100
  • Source Changed 1
  • Coverage Changed 100
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1593 fix_s390x tpm2: Fix compilation error in TPM2B_CREATION_DATA_Marshal (Fedora 32/s390x) This patch fixes the following compilation error on Fedora 32 / s390x: tpm2/Marshal.c: In function 'TPM2B_CREATION_DATA_Marshal': tpm2/Marshal.c:95:19: error: 'sizePtr'... push 17 Aug 2020 07:12PM UTC stefanberger travis-ci pending completion  
1594 fix_s390x Merge 28a2a3b23 into 0f5d791a7 Pull #156 17 Aug 2020 01:14PM UTC web-flow travis-ci pending completion  
1588 fix_s390x Merge 82ffac405 into 0f5d791a7 Pull #156 17 Aug 2020 04:20AM UTC web-flow travis-ci pending completion  
1587 fix_s390x tpm2: Fix compilation error in TPM2B_CREATION_DATA_Marshal (Fedora 32/s390x) This patch fixes the following compilation error on Fedora 32 / s390x: tpm2/Marshal.c: In function 'TPM2B_CREATION_DATA_Marshal': tpm2/Marshal.c:95:19: error: 'sizePtr'... push 17 Aug 2020 04:18AM UTC stefanberger travis-ci pending completion  
1579 fix_s390x Merge c35b4a93d into 0f5d791a7 Pull #156 17 Aug 2020 12:13AM UTC web-flow travis-ci pending completion  
1577 fix_s390x WIP: tpm12: Fix compilation error for s390x tpm12/tpm_nvram.c: In function 'TPM_Process_NVWriteValue': tpm12/tpm_nvram.c:2313:45: error: 'd1NvdataSensitive' may be used uninitialized in this function [-Werror=maybe-uninitialized] 2313 | if (... push 16 Aug 2020 11:14PM UTC stefanberger travis-ci pending completion  
See All Builds (2483)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc