sprintf() has undefined behaviour when destination and a source both point to the same buffer. This happens in podule-linux.c and causes random failures to find the podule shared objects as in https://github.com/sarah-walker-pcem/arculator/issues/11
Using strdup() to create temporary copies of the source buffers eliminates the undefined behaviour.
sprintf() has undefined behaviour when destination and a source both point to the same buffer. This happens in podule-linux.c and causes random failures to find the podule shared objects as in https://github.com/sarah-walker-pcem/arculator/issues/11
Using strdup() to create temporary copies of the source buffers eliminates the undefined behaviour.