Home | History | Annotate | Download | only in libpng

Lines Matching full:expanded_size

351       png_size_t expanded_size = png_inflate(png_ptr,
361 (prefix_size + expanded_size >= png_ptr->user_chunk_malloc_max - 1))
365 prefix_size + expanded_size >= PNG_USER_CHUNK_MALLOC_MAX - 1)
379 if (expanded_size > 0)
386 if (prefix_size + expanded_size > prefix_size &&
387 prefix_size + expanded_size < 0xffffffffU)
389 text = png_malloc_warn(png_ptr, prefix_size + expanded_size + 1);
398 (png_bytep)(text + prefix_size), expanded_size);
399 text[prefix_size + expanded_size] = 0; /* just in case */
401 if (new_size == expanded_size)
405 *newlength = prefix_size + expanded_size;