You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any reason why this limit is hardcoded as 256MB? Are there circumstances where it would not be safe to increase outside of insufficient memory?
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 text was updated successfully, but these errors were encountered: