ggml/gguf : prevent integer overflows #19856
gguf : prevent integer overflow for ggml_context mem size
198f79d6
ggml : fix int overflows in ggml_new_object()
69788e0d
gguf : prevent string exhaustion
357b8e50
gguf : prevent array elements exhaustion
7babe5fb
ggml : fix negative tensor type oob
2e23292c
py : assert that alignment is non-zero power of 2
d97dd299
ggml : check int overflow in ggml_new_tensor_impl and ggml_new_object
5d67acd4
gguf-py : error on duplicate keys when reading
12c719b3
py : restore tensor_fields
f2ac3ef5
enforce proper alignment in add_custom_alignment
46a9a065
gguf : better name
4e89ec67
gguf : fix ctx size for no_alloc == true
09788740
gguf : minor print fix
327e2ca6
ggml : print values when overflow
dfac6caa
ggml : remove deprecated ggml_type_sizef()
45250db0
ggml : relax ggml_type asserts to debug-only
c79698f2
gguf : add mem_size overflow test
c76408db
gguf : add file size check for arrays
9c5d8dec
ggml : relax asseerts for ggml_get_type_traits()
a6d3e9a2
flake8 fix
4b436e4e
ggerganov
merged
418dea39
into master 117 days ago
ggerganov
deleted the gg/ggml-fix-integer-overflows branch 117 days ago
Assignees
No one assigned
Labels
testing
python
ggml
Login to write a write a comment.
Login via GitHub