Home
last modified time | relevance | path

Searched refs:end_info_ptr (Results 1 – 5 of 5) sorted by relevance

/external/libpng/contrib/oss-fuzz/
Dlibpng_read_fuzzer.cc31 if (png_handler.end_info_ptr) \
33 &png_handler.end_info_ptr); \
42 png_handler.end_info_ptr = nullptr; \
53 png_infop end_info_ptr = nullptr; member
60 if (end_info_ptr) in ~PngObjectHandler()
61 png_destroy_read_struct(&png_ptr, &info_ptr, &end_info_ptr); in ~PngObjectHandler()
100 png_handler.end_info_ptr = nullptr; in LLVMFuzzerTestOneInput()
114 png_handler.end_info_ptr = png_create_info_struct(png_handler.png_ptr); in LLVMFuzzerTestOneInput()
115 if (!png_handler.end_info_ptr) { in LLVMFuzzerTestOneInput()
176 png_read_end(png_handler.png_ptr, png_handler.end_info_ptr); in LLVMFuzzerTestOneInput()
Dnewcc34 png_infop end_info_ptr = nullptr;
41 if (end_info_ptr)
42 png_destroy_read_struct(&png_ptr, &info_ptr, &end_info_ptr);
82 png_handler.end_info_ptr = nullptr;
95 if (png_handler.end_info_ptr) \
97 &png_handler.end_info_ptr); \
106 png_handler.end_info_ptr = nullptr; \
115 png_handler.end_info_ptr = png_create_info_struct(png_handler.png_ptr);
116 if (!png_handler.end_info_ptr) {
183 png_read_end(png_handler.png_ptr, png_handler.end_info_ptr);
/external/libpng/
Dpngtest.c859 png_infop read_info_ptr, end_info_ptr; in test_one_file() local
921 end_info_ptr = png_create_info_struct(read_ptr); in test_one_file()
942 png_destroy_read_struct(&read_ptr, &read_info_ptr, &end_info_ptr); in test_one_file()
962 png_destroy_read_struct(&read_ptr, &read_info_ptr, &end_info_ptr); in test_one_file()
1532 png_read_end(read_ptr, end_info_ptr); in test_one_file()
1538 if (png_get_text(read_ptr, end_info_ptr, &text_ptr, &num_text) > 0) in test_one_file()
1565 if (png_get_eXIf_1(read_ptr, end_info_ptr, &exif_length, &exif) != 0) in test_one_file()
1580 if (png_get_tIME(read_ptr, end_info_ptr, &mod_time) != 0) in test_one_file()
1601 int num_unknowns = png_get_unknown_chunks(read_ptr, end_info_ptr, in test_one_file()
1662 png_destroy_read_struct(&read_ptr, &read_info_ptr, &end_info_ptr); in test_one_file()
Dlibpng-manual.txt680 If you have set up both info_ptr and end_info_ptr, the limit applies
DCHANGES234 Free info_ptr->text instead of end_info_ptr->text in pngread.c (John Bowler)