OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=42538148
Crash type: Heap-buffer-overflow READ 8
Crash state:
gguf_get_tensor_offset
llama_model_loader::llama_tensor_weight::llama_tensor_weight
void std::__1::vector<llama_model_loader::llama_tensor_weight, std::__1::allocat
"61408e7fad082dc44a11c8a9f1398da4837aad44:e597e50794f07ec8dc24b9efb18f94ec6386fda0"
"0ab30f8d82fc7156b750c194d64a887e80cbfb82:a47667cff41f5a198eb791974e0afcc1cddd3229"
"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/llamacpp/OSV-2024-1053.yaml"