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

checkpoint-restore / criu / 2187
6%
master: 33%

Build:
Build:
LAST BUILD BRANCH: criu-dev
DEFAULT BRANCH: master
Ran 05 Aug 2018 05:45AM UTC
Jobs 1
Files 217
Run time 13s
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

pending completion
2187

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>

21218 of 32734 relevant lines covered (64.82%)

717431.28 hits per line

Jobs
ID Job ID Ran Files Coverage
14 2187.14 (TR_ARCH=local GCOV=1) 05 Aug 2018 05:45AM UTC 0
64.82
Travis Job 2187.14
Source Files on build 2187
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2187
  • 8da39a42 on github
  • Prev Build on criu-dev (#2185)
  • Next Build on criu-dev (#2189)
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