libzip: repository: a59b6377f8ca

Navigation

Views: changesets, files, tags, branches

Formats: changeset, raw, files

Download: bz2 zip gz

changeset 1211:a59b6377f8ca

Add another XXX for an offset check to be added later.
author Thomas Klausner <tk@giga.or.at>
date Sat, 11 Aug 2012 02:40:12 +0200
parents 0b94a810b3eb
children 602bf6955b09
files lib/zip_open.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/lib/zip_open.c	Wed Aug 08 16:54:19 2012 +0200
     1.2 +++ b/lib/zip_open.c	Sat Aug 11 02:40:12 2012 +0200
     1.3 @@ -621,6 +621,7 @@
     1.4  	return NULL;
     1.5  
     1.6      cd->size = size;
     1.7 +    /* XXX: check for off_t overflow */
     1.8      cd->offset = (off_t)offset;
     1.9      
    1.10      return cd;