Searched refs:PNG_SIZE_MAX (Results 1 – 17 of 17) sorted by relevance
83 if (size > 0 && size <= PNG_SIZE_MAX114 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()1739 max_dl = PNG_SIZE_MAX / (sizeof (png_sPLT_entry)); in png_handle_sPLT()2649 png_alloc_size_t uncompressed_length = PNG_SIZE_MAX; in png_handle_zTXt()2794 uncompressed_length = PNG_SIZE_MAX; in png_handle_iTXt()2848 png_alloc_size_t limit = PNG_SIZE_MAX; in png_cache_unknown_chunk()4625 if (png_ptr->rowbytes > (PNG_SIZE_MAX - 1)) in png_read_start_row()
988 if (height > PNG_SIZE_MAX/(width*bytes_per_pixel)) {
488 if (png_ptr->save_buffer_size > PNG_SIZE_MAX - in png_push_save_buffer()
2571 mins = PNG_SIZE_MAX - 256/* so we can detect potential overflow of the in png_write_find_filter()2604 if (PNG_SIZE_MAX/128 <= row_bytes) in png_write_find_filter()
2010 else if (PNG_SIZE_MAX < profile_length)2574 ((PNG_SIZE_MAX
682 #define PNG_SIZE_MAX ((png_size_t)(-1)) macro
1207 if (height > PNG_SIZE_MAX/(width*pixel_size)) {2188 if (number_of_rows > PNG_SIZE_MAX/(width*pixel_size)) {
1439 Added PNG_SIZE_MAX (maximum value of a png_size_t variable.5611 list. The fix to the first problem is simply to provide PNG_SIZE_MAX as
86 if (size > 0 && size <= PNG_SIZE_MAX117 if (req <= PNG_SIZE_MAX/element_size) in png_malloc_array_checked()
45 + else if (PNG_SIZE_MAX < profile_length)
613 png_alloc_size_t limit = PNG_SIZE_MAX; in png_decompress_chunk()1725 max_dl = PNG_SIZE_MAX / (sizeof (png_sPLT_entry)); in png_handle_sPLT()2569 png_alloc_size_t uncompressed_length = PNG_SIZE_MAX; in png_handle_zTXt()2709 uncompressed_length = PNG_SIZE_MAX; in png_handle_iTXt()2763 png_alloc_size_t limit = PNG_SIZE_MAX; in png_cache_unknown_chunk()4493 if (png_ptr->rowbytes > (PNG_SIZE_MAX - 1)) in png_read_start_row()
487 if (png_ptr->save_buffer_size > PNG_SIZE_MAX - in png_push_save_buffer()
2513 mins = PNG_SIZE_MAX - 256/* so we can detect potential overflow of the in png_write_find_filter()2546 if (PNG_SIZE_MAX/128 <= row_bytes) in png_write_find_filter()
1970 else if (PNG_SIZE_MAX < profile_length)2536 ((PNG_SIZE_MAX
687 #define PNG_SIZE_MAX ((png_size_t)(-1)) macro
2465 png_set_chunk_malloc_max(ping,(png_alloc_size_t) MagickMin(PNG_SIZE_MAX, in ReadOnePNGImage()