mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-04-17 20:16:09 +00:00

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.