The following code in include/safe_mem_lib.h sets the maximum limit of memcpy to 256 MB.
#define RSIZE_MAX_MEM ( 256UL << 20 ) /* 256MB */
If we have larger copies, is it safe to increase the value of RSIZE_MAX_MEM or should we do it in multiple chunks?
The following code in include/safe_mem_lib.h sets the maximum limit of memcpy to 256 MB.
#define RSIZE_MAX_MEM ( 256UL << 20 ) /* 256MB */
If we have larger copies, is it safe to increase the value of RSIZE_MAX_MEM or should we do it in multiple chunks?