Menu

#2129 Metapost lexer may crash with 'interface=none'

Bug
closed-fixed
5
2019-10-24
2019-09-26
No

If an interface declaration comment with 'interface=none' is provided, an out-of-bounds read occurs and there may be a crash.
Example file:

% interface=none
transform pagecoords;
bye

Affected version: 4.2.0 and earlier. Potential fix attached.

1 Attachments

Discussion

  • Neil Hodgson

    Neil Hodgson - 2019-09-27

    Fix committed as [88e3b3].

     

    Related

    Commit: [88e3b3]

  • Neil Hodgson

    Neil Hodgson - 2019-10-24
    • status: open --> closed-fixed
     

Log in to post a comment.