Searched refs:kPngSignatureSize (Results 1 – 1 of 1) sorted by relevance
51 const size_t kPngSignatureSize = 8; in LLVMFuzzerTestOneInput() local64 if (size < kPngSignatureSize + kIHDRSize) return 0; in LLVMFuzzerTestOneInput()65 if (png_sig_cmp(data, 0, kPngSignatureSize)) return 0; in LLVMFuzzerTestOneInput()66 uint32_t width = __builtin_bswap32(Read32(data + kPngSignatureSize + 8)); in LLVMFuzzerTestOneInput()67 uint32_t height = __builtin_bswap32(Read32(data + kPngSignatureSize + 12)); in LLVMFuzzerTestOneInput()