* tests/bench-digest.h (main): Report an error after memory
exhaustion, instead of using a null pointer.
+2021-07-31 Paul Eggert <eggert@cs.ucla.edu>
+
+ maint: pacify GCC 11.2 -fanalyzer in crypto tests
+ * tests/bench-digest.h (main): Report an error after memory
+ exhaustion, instead of using a null pointer.
+
2021-07-30 Paul Eggert <eggert@cs.ucla.edu>
xalloc: add malloc-related function attributes
int repeat = atoi (argv[2]);
char *memblock = (char *) malloc (size);
+ if (!memblock)
+ {
+ fprintf (stderr, "%s: memory exhausted\n", argv[0]);
+ return 1;
+ }
/* Fill the memory block. */
{