[metapost] segfault on incorrect input
Martin Budaj
m.budaj at gmail.com
Sat May 1 09:46:42 CEST 2021
Hi,
incidentally I've found that metapost segfaults on the following
(incorrect) input:
nonstopmode;
% erroneously, a-b written instead of a_b
def a-b = a-c enddef;
a-b;
end
The output is:
l.4 def a-
b = a-c enddef;
Segmentation fault
Tested on 2.00 (TeX Live 2020/Debian) and 2.01 (TeX Live 2021/W32TeX).
Metafont processes the file as expected, with a regular error message.
Best regards
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/metapost/attachments/20210501/d6f367a5/attachment.html>
More information about the metapost
mailing list.