mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Removed unused chunk_name parameter from png_check_chunk_length().
This commit is contained in:
@@ -182,7 +182,7 @@ png_read_chunk_header(png_structrp png_ptr)
|
||||
png_check_chunk_name(png_ptr, png_ptr->chunk_name);
|
||||
|
||||
/* Check for too-large chunk length */
|
||||
png_check_chunk_length(png_ptr, png_ptr->chunk_name, length);
|
||||
png_check_chunk_length(png_ptr, length);
|
||||
|
||||
#ifdef PNG_IO_STATE_SUPPORTED
|
||||
png_ptr->io_state = PNG_IO_READING | PNG_IO_CHUNK_DATA;
|
||||
@@ -3105,8 +3105,7 @@ png_check_chunk_name(png_structrp png_ptr, png_uint_32 chunk_name)
|
||||
}
|
||||
|
||||
void /* PRIVATE */
|
||||
png_check_chunk_length(png_structrp png_ptr, png_uint_32 chunk_name,
|
||||
png_uint_32 length)
|
||||
png_check_chunk_length(png_structrp png_ptr, png_uint_32 length)
|
||||
{
|
||||
png_alloc_size_t limit = PNG_UINT_31_MAX;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user