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

drakenclimber / libseccomp
92%
main: 89%

Build:
Build:
LAST BUILD BRANCH: issue466
DEFAULT BRANCH: main
Repo Added 08 Oct 2019 08:33PM UTC
Files 27
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 release-2.4
branch: release-2.4
CHANGE BRANCH
x
Reset
  • release-2.4
  • backports/v2.4.3
  • checkout
  • checkout2
  • clang
  • codeql
  • dependabot
  • distutils
  • fixwarning
  • issue466
  • issues/11
  • issues/161-round2
  • issues/193
  • issues/210
  • issues/215
  • issues/215ppc
  • issues/236
  • issues/240
  • issues/245
  • issues/252
  • issues/267
  • issues/277
  • issues/313
  • issues/347
  • issues/370
  • issues/372
  • issues/472
  • issues/add-riscv-scripts
  • issues/doxygen
  • issues/fix-test24
  • issues/fixtest05warning
  • issues/fixtravisci
  • issues/githubactions
  • issues/man-seccomp_rule_add.3
  • issues/v2.5.2-changelog
  • issues/v2.5.3-changelog
  • main
  • master
  • pull/215
  • pull/215patch2
  • pull/215ppc
  • python-wheel
  • python-wheel2
  • release-2.5
  • rfc-bintree-v2
  • test
  • test2
  • v2.4/add-parisc-to-validate
  • wip/bintree-attr
  • wip/distutils
  • wip/doxygen
  • wip/doxygen2
  • wip/github_actions
  • wip/github_actions2
  • wip/issue11
  • wip/issue11-2
  • wip/issue11-3
  • wip/issue11-4
  • wip/issue11-5
  • wip/issue11-7
  • wip/issue11-8
  • wip/release-2.4.4
  • wip/rfc-bintree-v3
  • wip/rfc-bintree-v4
  • wip/working-codeql
  • working-syscall
  • working-syscall-wip

pending completion
198

push

travis-ci

pcmoore
bpf: don't return a bogus pointer when gen_bpf_generate() fails

In the case where gen_bpf_generate() fails due to a
_gen_bpf_build_bpf() failure we were returning a pointer to a BPF
program block which we had already freed - oops.  Thankfully the
fix is trivial.

Special thanks to Tudor Brindus for not only reporting the problem
but providing a very detailed root cause analysis.

Reported-by: Tudor Brindus <me@tbrindus.ca>
Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>

2526 of 2744 relevant lines covered (92.06%)

2890024.06 hits per line

Relevant lines Covered
Build:
Build:
2744 RELEVANT LINES 2526 COVERED LINES
2890024.06 HITS PER LINE
Source Files on release-2.4
  • Tree
  • List 59
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
198 release-2.4 bpf: don't return a bogus pointer when gen_bpf_generate() fails In the case where gen_bpf_generate() fails due to a _gen_bpf_build_bpf() failure we were returning a pointer to a BPF program block which we had already freed - oops. Thankfully the... push 27 Jul 2020 07:17PM UTC pcmoore travis-ci pending completion  
167 release-2.4 all: update the version number to 2.4.3 Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com> push 26 May 2020 07:23PM UTC drakenclimber travis-ci pending completion  
See All Builds (249)
  • 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