}
array_alloc_len = ALIGN(kmask_len.len, 8) >> 3;
+
kmask = zmalloc(sizeof(*kmask) + array_alloc_len);
if (!kmask) {
ret = -1;
goto end;
}
- new_mask = realloc(syscall_mask, array_alloc_len);
+ new_mask = realloc(*syscall_mask, array_alloc_len);
if (!new_mask) {
ret = -1;
goto end;