| 2091 | #if (NGX_MEMCPY_LIMIT) |
| 2092 | |
| 2093 | void * |
| 2094 | ngx_memcpy(void *dst, const void *src, size_t n) |
| 2095 | { |
| 2096 | if (n > NGX_MEMCPY_LIMIT) { |
| 2097 | ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, "memcpy %uz bytes", n); |
| 2098 | ngx_debug_point(); |
| 2099 | } |
| 2100 | |
| 2101 | return memcpy(dst, src, n); |
| 2102 | } |
| 2103 | |
| 2104 | #endif |
no test coverage detected