mirror of
https://github.com/RYDE-WORK/llama.cpp.git
synced 2026-01-20 05:33:37 +08: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.