pat file that crashes gimp-2.10
gimp-2.10 crashes after typing:
$ printf "\x80\0\0\x30\0\0\0\01\0\0\0\01\0\0\0\01\0\0\0\01GPAT" > ~/.config/GIMP/2.10/patterns/bad.pat
$ gimp-2.10 --verbose
terminates with
Loading /home/massimo/.mypaint/brushes/history_0.myb
Loading /home/massimo/.mypaint/brushes/history_1.myb
Loading /home/massimo/.mypaint/brushes/history_2.myb
Loading /home/massimo/.mypaint/brushes/history_3.myb
Loading /home/massimo/.mypaint/brushes/history_4.myb
Loading 'pattern factory' data
Loading /home/massimo/.config/GIMP/2.10/patterns/bad.pat
(gimp-2.10:23739): GLib-ERROR **: 16:52:22.738: gmem.c:105: failed to allocate 18446744071562067992 bytes
Trace/breakpoint trap (core dumped)