#include <stdlib.h>
#include <string.h>
#include <stdint.h>
void testcase_noncompliant_realloc_without_clear(void) {
char *secret;
secret = (char *)malloc(100);
if (!secret) return;
size_t secret_size = strlen(secret);
if (secret_size > SIZE_MAX/2) {
free(secret);
return;
}
secret = (char *)realloc(secret, secret_size * 2);
}