Searched refs:eXIf_buf (Results 1 – 6 of 6) sorted by relevance
/third_party/libpng/ |
D | backport-libpng-1.6.37-enable-valid.patch | 99 info_ptr->eXIf_buf[i] = buf[0]; 102 + && info_ptr->eXIf_buf[0] != buf[0]) 105 - (info_ptr->eXIf_buf[0] != buf[0])) 109 - png_free(png_ptr, info_ptr->eXIf_buf); 110 - info_ptr->eXIf_buf = NULL; 115 + png_free(png_ptr, info_ptr->eXIf_buf); 116 + info_ptr->eXIf_buf = NULL; 122 - png_set_eXIf_1(png_ptr, info_ptr, length, info_ptr->eXIf_buf); 126 + png_set_eXIf_1(png_ptr, info_ptr, length, info_ptr->eXIf_buf); 128 png_free(png_ptr, info_ptr->eXIf_buf); [all …]
|
/third_party/skia/third_party/externals/libpng/ |
D | pnginfo.h | 192 png_bytep eXIf_buf; /* Added at libpng-1.6.32 */ member
|
D | pngrutil.c | 2064 info_ptr->eXIf_buf = png_voidcast(png_bytep, in png_handle_eXIf() 2067 if (info_ptr->eXIf_buf == NULL) in png_handle_eXIf() 2078 info_ptr->eXIf_buf[i] = buf[0]; in png_handle_eXIf() 2080 && info_ptr->eXIf_buf[0] != buf[0]) in png_handle_eXIf() 2084 png_free(png_ptr, info_ptr->eXIf_buf); in png_handle_eXIf() 2085 info_ptr->eXIf_buf = NULL; in png_handle_eXIf() 2093 png_set_eXIf_1(png_ptr, info_ptr, length, info_ptr->eXIf_buf); in png_handle_eXIf() 2095 png_free(png_ptr, info_ptr->eXIf_buf); in png_handle_eXIf() 2096 info_ptr->eXIf_buf = NULL; in png_handle_eXIf()
|
D | pngset.c | 140 png_bytep eXIf_buf) in png_set_eXIf() argument 144 PNG_UNUSED(eXIf_buf) in png_set_eXIf() 149 png_uint_32 num_exif, png_bytep eXIf_buf) in png_set_eXIf_1() argument 178 info_ptr->exif[i] = eXIf_buf[i]; in png_set_eXIf_1()
|
D | png.c | 623 if (info_ptr->eXIf_buf) in png_free_data() 625 png_free(png_ptr, info_ptr->eXIf_buf); in png_free_data() 626 info_ptr->eXIf_buf = NULL; in png_free_data()
|
D | CHANGES | 5912 are allowed. Avoid leaking the input buffer "eXIf_buf". 5930 Replaced local eXIf_buf with info_ptr-eXIf_buf in png_handle_eXIf(). 5946 Restored png_get_eXIf_1() and png_set_eXIf_1(), because strlen(eXIf_buf)
|