Skip to content

RSIZE_MAX_MEM limit #46

@sanchit-misra

Description

@sanchit-misra

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions