summaryrefslogtreecommitdiff
path: root/apt-inst/dirstream.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-12-14 13:12:37 +0100
committerJulian Andres Klode <jak@debian.org>2015-12-14 13:14:22 +0100
commitd27daedb6a0bf672508072100f20233d08ccf0e0 (patch)
tree59c3a454e138d7cab63abaa055bed0811b5153b7 /apt-inst/dirstream.cc
parentc95c96746d93a6f2d94ee96f8abf3e324bfb690a (diff)
test framework: Correctly generate new paths in noopchroot
The allocated buffer was one byte too small. Allocate a buffer of PATH_MAX instead and use snprintf(), as suggested by Martin Pitt.
Diffstat (limited to 'apt-inst/dirstream.cc')
0 files changed, 0 insertions, 0 deletions