[Filesystems-devel] Bug#777559: [aufs-tools] auplink crashes

Henrik Ahlgren pablo at seestieto.com
Thu Aug 13 15:30:10 UTC 2015


Tags: patch

When AuFin is called with errno = 0, error_at_line(3) does not exit. The
attached patch sets errno to EINVAL following the pattern in most
other similar error checks in aufs-tools.

With this change "auplink / flush" outputs the following error
message and exists without segfaulting:

auplink:plink.c:342: no aufs mount point: Invalid argument

This bug causes docker core files to appear in docker container's root
directory.

Henrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: auplink-errno.patch
Type: text/x-diff
Size: 463 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/filesystems-devel/attachments/20150813/903b73e8/attachment.patch>


More information about the Filesystems-devel mailing list