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

0x7f454c46 / criu
54%
master: 66%

Build:
Build:
LAST BUILD BRANCH: wip/vdso-kdat
DEFAULT BRANCH: master
Repo Added 01 Jun 2016 05:33PM UTC
Files 2
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 tty-fix2
branch: tty-fix2
CHANGE BRANCH
x
Reset
  • tty-fix2
  • 0x-fix
  • 32-vdso
  • HEAD
  • PAGE_SIZE-v3
  • PAGE_SIZE-v4
  • arm-fixes
  • arm32
  • arm64
  • bind-nested
  • bind-upwards
  • cgroup-fix
  • clang
  • clang-fixes
  • common-config
  • compat-3
  • compat-4
  • compat-config
  • compat-vz
  • compat-vz-fixes
  • compel-arch-5
  • compel-tool-1
  • compel-tool-1-vers
  • coverity
  • cr-exec
  • criu-dev
  • cyrill-32
  • cyrill-32-2
  • cyrill-compat-style
  • dsafonov
  • headers
  • headers-soccr
  • helper-sigchild
  • ia32
  • ia32/R_X86_64_32
  • ia32/feature-test
  • ia32/make-debug-fix
  • ia32/mmap-bug-check
  • ia32/robust_list
  • ia32/unmap-mv
  • linux-next
  • make
  • make-fix
  • make-nmk
  • makeflags
  • master
  • master-top-dir
  • misc
  • mount-fix
  • mxcsr-bug
  • new-vdso
  • page-xfer-msg
  • parasite-args-fix
  • remove-CONFIG_VDSO
  • rm-unmap
  • signals-arm-fix
  • soccr-headers
  • sub-ns
  • sysv-shmem
  • test-make
  • test-printf
  • tmp
  • toy-poison
  • travis
  • travis-gcov
  • tty-fix
  • tun-kdat
  • v3.0-fixes
  • wip/PAGE_SIZE
  • wip/bind-upwards
  • wip/cgroup-fix
  • wip/helper-sigchild
  • wip/kerndat
  • wip/new-vdso
  • wip/vdso-kdat
  • x86-64-relocs
  • x86-tls-fix
  • zdtm-gnu-source
  • zdtm-ifpriomap

pending completion
338

push

travis-ci

0x7f454c46
tty: prefer zalloc to malloc for inverted_path allocation

On Thu, Jun 23, 2016 at 02:12:16PM +0300, Cyrill Gorcunov wrote:
> On Thu, Jun 23, 2016 at 02:00:12PM +0300, Dmitry Safonov wrote:
> > Otherwise, we copy original name to slash and after it there may stay
> > some junk, which strcat will use for concatenation:
> > (00.024843)     26: Error (files-reg.c:1528): Can't open file dev/pts/g:��ptmx on restore: No such file or directory
> > (00.024846)     26: Error (files-reg.c:1470): Can't open file dev/pts/g:��ptmx: No such file or directory
> > (00.024849)     26: Error (tty.c:545): tty: Can't open dev/pts/g:��ptmx: No such file or directory
> >
> > Cc: Cyrill Gorcunov <gorcunov@openvz.org>
> > Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com>
>
> That's big hammer, won't the below oneliner fix it?

Give attached a shot please.
----
From: Cyrill Gorcunov <gorcunov@virtuozzo.com>
Date: Thu, 23 Jun 2016 14:14:44 +0300
Subject: [PATCH] tty: Don't forget to add eol when inverting slave pts paths

Otherwise next strcat get confused

 | (00.024843)     26: Error (files-reg.c:1528): Can't open file dev/pts/g:��^?ptmx on restore: No such file or directory
 | (00.024846)     26: Error (files-reg.c:1470): Can't open file dev/pts/g:��^?ptmx: No such file or directory
 | (00.024849)     26: Error (tty.c:545): tty: Can't open dev/pts/g:��^?ptmx: No such file or directory

Reported-by: Dmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@virtuozzo.com>

13774 of 25734 relevant lines covered (53.52%)

20333.92 hits per line

Relevant lines Covered
Build:
Build:
25734 RELEVANT LINES 13774 COVERED LINES
20333.92 HITS PER LINE
Source Files on tty-fix2
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
338 tty-fix2 tty: prefer zalloc to malloc for inverted_path allocation On Thu, Jun 23, 2016 at 02:12:16PM +0300, Cyrill Gorcunov wrote: > On Thu, Jun 23, 2016 at 02:00:12PM +0300, Dmitry Safonov wrote: > > Otherwise, we copy original name to slash and after i... push 23 Jun 2016 11:30AM UTC 0x7f454c46 travis-ci pending completion  
See All Builds (352)
  • 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