- install the latest gnuplot
- run the command
gnuplot < poc7
, where poc7 is the attached file
- stacktrace
#0 0x4db590 in __interceptor_free.localalias.0
#1 0x7ffff68db36d in fclose /build/glibc-2ORdQG/glibc-2.27/libio/iofclose.c:77
#2 0x4da02d in __interceptor_fclose
#3 0x5647a3 in print_set_output
#4 0x7954b4 in set_print
#5 0x76fede in set_command
#6 0x55bb97 in command
#7 0x55b4fa in do_line
#8 0x559d90 in com_line
#9 0x6e3a5c in main
#10 0x7ffff687eb96 in __libc_start_main /build/glibc-2ORdQG/glibc-2.27/csu/../csu/libc-start.c:310
#11 0x41b8a9 in _start
Diff:
I realize this is already closed, but a much smaller and straightforward input that causes this is just a single line with a backtick followed by a newline.