-
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
static-analysisAn issue related to a static analysis resultAn issue related to a static analysis resulttest-utilsRelated to TestCPP util functions and TestCPPUtilRelated to TestCPP util functions and TestCPPUtil
Milestone
Description
include/internal/TestCPPUtil.h:107:33: [2] (buffer) char:
Statically-sized arrays can be improperly restricted, leading to potential
overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
functions that limit length, or ensure that the size is larger than the
maximum possible length.
alignas(T) unsigned char data[sizeof(T)];
Metadata
Metadata
Assignees
Labels
static-analysisAn issue related to a static analysis resultAn issue related to a static analysis resulttest-utilsRelated to TestCPP util functions and TestCPPUtilRelated to TestCPP util functions and TestCPPUtil