diff options
Diffstat (limited to 'clm.c')
-rw-r--r-- | clm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -382,6 +382,7 @@ static char *int_array_to_string(int *arr, int num_ints, const char *name) { int i, len; char *intstr; + if (num_ints > 1024) num_ints = 1024; /* added 9-Apr-24 to try to make gcc happier */ len = num_ints * MAX_INT_SIZE + 64; descr = (char *)calloc(len, sizeof(char)); intstr = (char *)malloc(MAX_INT_SIZE * sizeof(char)); |