List Archive

Thread

Thread Index

Message

From: Thomas Klausner <tk%giga.or.at@localhost>
To: Andreas Falkenhahn <andreas%falkenhahn.com@localhost>
Subject: Re: Zip file comments
Date: Mon, 6 Nov 2017 22:25:36 +0100

On Mon, Nov 06, 2017 at 06:40:01PM +0100, Andreas Falkenhahn wrote:
> Why do functions like zip_set_archive_comment() require me to specify
> the length of the comment instead of just using a null terminated
> string? Can comments include null characters or what is the reason
> for having a separate length parameter?

The file format specifies a comment length and has no restrictions on
comment contents.
 Thomas

Made by MHonArc.