Searched refs:PNG_SIZE_MAX (Results 1 – 16 of 16) sorted by relevance
86 if (size > 0 && size <= PNG_SIZE_MAX117 if (req <= PNG_SIZE_MAX/element_size) in png_malloc_array_checked()
622 png_alloc_size_t limit = PNG_SIZE_MAX; in png_decompress_chunk()1738 max_dl = PNG_SIZE_MAX / (sizeof (png_sPLT_entry)); in png_handle_sPLT()2666 png_alloc_size_t uncompressed_length = PNG_SIZE_MAX; in png_handle_zTXt()2811 uncompressed_length = PNG_SIZE_MAX; in png_handle_iTXt()2865 png_alloc_size_t limit = PNG_SIZE_MAX; in png_cache_unknown_chunk()4645 if (png_ptr->rowbytes > (PNG_SIZE_MAX - 1)) in png_read_start_row()
488 if (png_ptr->save_buffer_size > PNG_SIZE_MAX - in png_push_save_buffer()
2568 mins = PNG_SIZE_MAX - 256/* so we can detect potential overflow of the in png_write_find_filter()2601 if (PNG_SIZE_MAX/128 <= row_bytes) in png_write_find_filter()
2004 else if (PNG_SIZE_MAX < profile_length)2569 ((PNG_SIZE_MAX
651 #define PNG_SIZE_MAX ((size_t)(-1)) macro
83 if (size > 0 && size <= PNG_SIZE_MAX114 if (req <= PNG_SIZE_MAX/element_size) in png_malloc_array_checked()
962 if (height > PNG_SIZE_MAX / (width * bytes_per_pixel))
2004 else if (PNG_SIZE_MAX < profile_length)2568 ((PNG_SIZE_MAX
1208 if (height > PNG_SIZE_MAX/(width*pixel_size)) {2189 if (number_of_rows > PNG_SIZE_MAX/(width*pixel_size)) {
1438 Added PNG_SIZE_MAX (maximum value of a png_size_t variable.5610 list. The fix to the first problem is simply to provide PNG_SIZE_MAX as
2472 png_set_chunk_malloc_max(ping,(png_alloc_size_t) MagickMin(PNG_SIZE_MAX, in ReadOnePNGImage()