valgrind error in Parameters.c

Create issue
Issue #837 closed
Erik Schnetter created an issue

These lines in Cactus/src/main/Parameters.c (line 2298 ff) are flagged by valgrind:

  inval = strtod (temp, &endptr);

  if (*endptr) /* if we cannot parse as a number, try expression */

Note that endptr is set to a location in the string temp that is freed before endptr is accessed.


Comments (3)

  1. Log in to comment