diff options
author | Julian Andres Klode <jak@debian.org> | 2015-12-14 13:12:37 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2015-12-14 13:14:22 +0100 |
commit | d27daedb6a0bf672508072100f20233d08ccf0e0 (patch) | |
tree | 59c3a454e138d7cab63abaa055bed0811b5153b7 /apt-pkg/packagemanager.cc | |
parent | c95c96746d93a6f2d94ee96f8abf3e324bfb690a (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-pkg/packagemanager.cc')
0 files changed, 0 insertions, 0 deletions