llama.cpp
1d20e53c - rpc: fix known RCE in rpc-server (ggml/1103)

Commit
123 days ago
rpc: fix known RCE in rpc-server (ggml/1103) Add bounds checking in `rpc_server::copy_tensor` to prevent out-of-bounds writes + Check if `(uint8_t *)dst->data + ggml_nbytes(src)` remains within the destination buffer’s allocated region.
Author
Committer
Parents
  • ggml/src/ggml-rpc
    • File
      ggml-rpc.cpp