mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-08-30 17:10:50 +02:00
1d20e53c40
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.