]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml : fix memory leaks when loading invalid gguf files (llama/10094)
authorDiego Devesa <redacted>
Wed, 30 Oct 2024 13:51:21 +0000 (14:51 +0100)
committerGeorgi Gerganov <redacted>
Fri, 15 Nov 2024 13:21:04 +0000 (15:21 +0200)
commit63a4e09a0fae4158a6635afa0907b93d97e1ac44
treea8a60ab86b343a28ea79d8f4d8e7a3765be71e7e
parent75dd198870f6c739087ec07e6ed46fd13ef3a3f1
ggml : fix memory leaks when loading invalid gguf files (llama/10094)

* ggml : fix gguf string leak when reading kv pairs fails

* ggml : avoid crashing with GGML_ABORT when the KV has an invalid type

* ggml : avoid crashing on failed memory allocations when loading a gguf file
ggml/src/ggml.c