Summary
In init_hardsubx() in src/lib_ccx/hardsubx.c, strdup() is called twice on lines 235-236 without checking for NULL. If memory allocation fails, subsequent use of these pointers could lead to undefined behavior.
Code
Line 235: char *pars_vec = strdup("debug_file");
Line 236: char *pars_values = strdup("/dev/null");
Suggested Fix
Add NULL checks for both strdup calls and free already allocated resources before returning NULL or calling fatal().