×
EXP39-C. Do not access a variable through a pointer of an incompatible type · In this noncompliant example, an object of type float is incremented through an ...
Do not add or subtract an integer to a pointer to a non-array object), including an array of bytes. When performing pointer arithmetic, the size of the value to ...
An object has its stored value accessed other than by an lvalue of an allowable type (6.5). Incompatible Object Declarations Incompatible Array Declarations. 41.
Independent( ARR30-C, ARR38-C, EXP39-C, INT30-C). STR31-C = Subset( Union( ARR30-C, ARR38-C)). STR32-C = Subset( ARR38-C). Intersection( ARR38-C, CWE-125) ...
When two pointers are subtracted, both must point to elements of the same array object or just one past the last element of the array object (C Standard, ...
The C Standard, 7.26.5.6 [ISO/IEC 9899:2011], states that a thread shall not be joined once it was previously joined or detached.
In a hosted environment, the main function receives a third argument, char *envp[] , that points to a null-terminated array of pointers to char , each of ...
Some C standard library functions are not guaranteed to be reentrant with respect to threads. Functions such as strtok() and asctime() return a pointer to ...
Restricting the input of excessively large or small integers helps prevent overflow, truncation, and other type range errors. Furthermore, it is easier to find ...
Mutexes are used to protect shared data structures being accessed concurrently. The thread that locks the mutex owns it, and the owning thread should be the ...