Subject: | Invalid "format" parameter crashes gnuplot |
The option unit test
'format' => ['x','%f%e%E%g%G%x%X%o%O%t%l%s%T%L%S%c%P']
causes gnuplot compiled with stack protection to crash with the message
*** stack smashing detected ***: gnuplot terminated
I suspect this is because the printf format has more format characters
than there are arguments, causing it to read off the end of the stack.
The correct thing to do would be to test the format characters one at a
time. This probably applies to the 'timefmt' test as well.