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

drakenclimber / adaptivemm
71%
master: 71%

Build:
Build:
LAST BUILD BRANCH: clang
DEFAULT BRANCH: master
Repo Added 22 Oct 2024 05:32PM UTC
Token bVIn3ftPNN7VTshU0CPj6BtQxSexsZpL0 regen
Build 208 Last
Files 38
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-1003
branch: fix-1003
CHANGE BRANCH
x
Reset
Sync Branches
  • fix-1003
  • adaptived-release-1.0
  • cgroup_data
  • cgroup_data2
  • cgroupv1
  • changelog
  • clang
  • cleanup-sd
  • coverity
  • folder-reorg
  • github
  • github2
  • initialcommit
  • kernel_data
  • kernel_data2
  • kernel_data3
  • kernel_data4
  • log
  • master
  • multiple_rules
  • pressure_cause_fix
  • readme
  • rest_server
  • share-data-between-causes-and-effects
  • shared-data
  • shared-data-example
  • test
  • test2
  • test_warnings_cleanup
  • v1.0.0
  • warning

13 Dec 2024 07:35PM UTC coverage: 70.625%. First build
12321977492

push

github

drakenclimber
adaptived: ftests: Fix freeing of invalid pointer in test 1003

Fix the following error in sudo test 1003:

	<snip>
	Debug: handle_special_properties: property=CPUQuota,
	value->value.str_value=44%, real property: CPUQuotaPerSecUSec
	Debug: handle_special_properties: sd_bus_message_append(m, (sv),
	CPUQuotaPerSecUSec, t, 440000
	Debug: adaptived main loop exceeded max loops
	free(): invalid pointer
	Aborted

Test 1003 was re-using the "len" variable and this was confusing
getline().  getline() was then re-using a buffer even though it wasn't
large enough, leading to a memory corruption.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>

3527 of 4994 relevant lines covered (70.62%)

566.14 hits per line

Relevant lines Covered
Build:
Build:
4994 RELEVANT LINES 3527 COVERED LINES
566.14 HITS PER LINE
Source Files on fix-1003
  • Tree
  • List 37
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
12321977492 fix-1003 adaptived: ftests: Fix freeing of invalid pointer in test 1003 Fix the following error in sudo test 1003: <snip> Debug: handle_special_properties: property=CPUQuota, value->value.str_value=44%, real property: CPUQuotaPerSecUSec Debug: handle... push 13 Dec 2024 07:42PM UTC drakenclimber github
70.62
See All Builds (205)

Badge your Repo: adaptivemm

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • 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

© 2026 Coveralls, Inc