CVSROOT: /cvs Module name: src Changes by: [email protected] 2025/05/31 02:23:46
Modified files:
regress/lib/libcrypto/test: test.c
Log message:
test.c: avoid NULL-dereference
test_init() calls test_new(NULL, NULL), which leads to a segfault.
llvm 16 optimizes this away with -O2, however gcc 4.2.1 on sparc64
doesn't. Fix this by only inheriting the out FILE from the parent
if the latter is non-NULL.
