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

checkpoint-restore / criu / 2192 / 14
6%
master: 33%

Build:
Build:
LAST BUILD BRANCH: criu-dev
DEFAULT BRANCH: master
Ran 07 Aug 2018 06:26AM UTC
Files 217
Run time 12s
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

07 Aug 2018 06:26AM UTC coverage: 64.813% (+0.003%) from 64.81%
TR_ARCH=local GCOV=1

cron

travis-ci

Andrei Vagin
cr-service: fix gcc-8 error

The latest patches to cr-service.c broke compilation with gcc-8:

criu/cr-service.c: In function ‘setup_opts_from_req’:
criu/cr-service.c:323:3: error: ‘strncpy’ specified bound 4096 equals destination size [-Werror=stringop-truncation]
   strncpy(images_dir_path, opts.imgs_dir, PATH_MAX);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
criu/cr-service.c:343:3: error: ‘strncpy’ specified bound 4096 equals destination size [-Werror=stringop-truncation]
   strncpy(work_dir_path, opts.work_dir, PATH_MAX);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

This fixes the errors by specifying the strncpy() size as 'PATH_MAX - 1'.

Signed-off-by: Adrian Reber <areber@redhat.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>

21216 of 32734 relevant lines covered (64.81%)

719696.8 hits per line

Source Files on job 2192.14 (TR_ARCH=local GCOV=1)
  • Tree
  • List 0
  • Changed 131
  • Source Changed 0
  • Coverage Changed 131
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2013
  • Travis Job 2192.14
  • 8da39a42 on github
  • Prev Job for TR_ARCH=local GCOV=1 on criu-dev (#2189.14)
  • Next Job for TR_ARCH=local GCOV=1 on criu-dev (#2194.14)
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