chiark / gitweb /
tmpfiles: use allocated buffer for path
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 1 Oct 2014 12:33:22 +0000 (07:33 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 1 Oct 2014 12:43:09 +0000 (08:43 -0400)
commit9348f0e690c28f86a69c96e3e9b9f19a31c6d466
tree3fbe0f00e0036fa764ca3681c5bd8ef8c588d3f7
parentfdb14b7ef40d1f19f3bd7c8fa2a3821c2be87a5e
tmpfiles: use allocated buffer for path

Paths can in principle be longer then PATH_MAX, so
simply allocate the buffer with malloc().

CID #1237773
src/tmpfiles/tmpfiles.c