THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Git Source Code Mirror - This is a publish-only repository and all pull requests are ignored. Please follow Documentation/SubmittingPatches procedure for any of your improvements.
git
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
309B

  1. #include "packfile.h"
  2. int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
  3. int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
  4. {
  5. enum object_type type;
  6. unsigned long len;
  7. unpack_object_header_buffer((const unsigned char *)data,
  8. (unsigned long)size, &type, &len);
  9. return 0;
  10. }