diff options
author | Sam Newbold <sam@rwsh.org> | 2019-06-10 16:29:37 +0200 |
---|---|---|
committer | Sam Newbold <sam@rwsh.org> | 2019-06-10 16:36:18 +0200 |
commit | 300b31b2dfb3ee7a84c78bd2802cb5649d0dc1ba (patch) | |
tree | b6e35d33b4aec49343a88a046268684b8d697be6 /man | |
parent | 9b5f6ae5f460c8642286cf174751a317f155d043 (diff) |
print_file_contents: allocate enough to include \0
related to #331
Previously, if max_chars was read, the null byte would be written
past the end of buf.
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions