]> git.djapps.eu Git - pkg/ggml/sources/ggml/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>
Mon, 4 Nov 2024 17:42:09 +0000 (19:42 +0200)
commit3e6e367dfaa7a749d318fb65166a4d25bb06f70d
treea932c88cb990d79bbec6c1f9ea0c602e68b39e5c
parent6b74693d666f0e3ff7741a7907f18315d2979726
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
src/ggml.c