summaryrefslogtreecommitdiff
path: root/parted
diff options
context:
space:
mode:
authorBrian C. Lane <bcl@redhat.com>2018-07-23 14:34:30 -0700
committerBrian C. Lane <bcl@redhat.com>2018-08-22 11:37:09 -0700
commit60906f5674ca32ddfaf8c18fe2e4ebe510dbbd6f (patch)
tree82960cc2fb2322a3593bd384b84ae8c610d75c04 /parted
parent554d54cf7dbed387ace44a733c535c08d645bf9a (diff)
downloadparted-60906f5674ca32ddfaf8c18fe2e4ebe510dbbd6f.tar.gz
Fix the length of several strncpy calls
These need to be 1 less than the allocated size of the buffer, strncpy will fill shorter strings with zeros, but there needs to be room for at least one 0x00 at the end if the string is the same length as the buffer and has no terminating 0x00. Related: rhbz#1602652
Diffstat (limited to 'parted')
0 files changed, 0 insertions, 0 deletions