...
Code Block | ||||
---|---|---|---|---|
| ||||
#include <stdlib.h> const size_t BUFFER_SIZE = 32; int f(void) { static char *if (text_buffer == NULL) { text_buffer = (char *)malloc(BUFFER_SIZE); if (text_buffer == NULL) { return -1; } } return 0; } |
Risk Assessment
...
...
Code Block | ||||
---|---|---|---|---|
| ||||
#include <stdlib.h> const size_t BUFFER_SIZE = 32; int f(void) { static char *if (text_buffer == NULL) { text_buffer = (char *)malloc(BUFFER_SIZE); if (text_buffer == NULL) { return -1; } } return 0; } |
...