#880999 gnuplot: Segfault with false formatted command input

#880999#5
Date:
2017-11-06 21:31:10 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?

A list of false formatted input, entered with a pipe

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

1. File BadCommand.txt context:
set output "temperatures.svg";\
set terminal svg size 1280,768 dynamic name "Temperatures ";\
set timefmt "%Y-%m-%d %H:%M:%S";\
set xtics format "%d.%m.%Y";
plot "./data.txt" using 1:3 with lines ls 1 title "[°C]" axis x1y1;\

2. File data.txt context:
2016-09-19 20:00:00 24.5

3. Enter Commands with a pipe
cat BadCommand.txt | gnuplot

Anything of the following does *not* the crash:
A: Removing the space in "Temperatures "
B: Adding a backslash \ behind set xtichs line
C: Removing the <title "[°C]">
D: Calling gnuplot BadCommand.txt
E: 1. "pipe foo"; 2. gdb gnuplot; 3. run < foo; 4. cat BadCommand.txt > foo

   * What was the outcome of this action?
Error messages and then
gnuplot[11021]: segfault at 0 ip 00007f84d6a1df2e sp 00007fff75f4fa20 error 4
in libc-2.24.so[7f84d699b000+195000]
gnuplot[11026]: segfault at 0 ip 00007fe9f9c3ef2e sp 00007ffcddc30dd0 error 4
in libc-2.24.so[7fe9f9bbc000+195000]
gnuplot[11029]: segfault at 0 ip 00007fd1395f3f2e sp 00007ffd794ef370 error 4
in libc-2.24.so[7fd139571000+195000]
in dmesg.

   * What outcome did you expect instead?
Just error messages.