]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Use snprintf to print to zip->format_name 72/head
authorPaul Barker <paul@paulbarker.me.uk>
Sun, 6 Apr 2014 22:12:26 +0000 (23:12 +0100)
committerPaul Barker <paul@paulbarker.me.uk>
Sun, 6 Apr 2014 22:12:26 +0000 (23:12 +0100)
commitecc435306e45a8bae9515fe2c5bb33600cc5a192
tree85accc64179d990613eec34d02c40fdf474368e9
parent3bd37337e6c299beb493ba7633042b9b5cae763c
Use snprintf to print to zip->format_name

zip->format_name is a fixed size character array so ensure that the number of
characters written to the array is appropriately limited.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
libarchive/archive_read_support_format_zip.c