[Dev-luatex] Crash with invalid numeric parameter to node.type

Jonathan Sauer Jonathan.Sauer at silverstroke.com
Tue May 13 09:57:01 CEST 2008


Hello,

$ luatex
This is LuaTeX, Version snapshot-0.25.3-2008050416 (Web2C 7.5.6)
**\directlua0{print(node.type(100000000))}
! Emergency stop.
<*> \directlua0{print(node.type(100000000))}
                                            
No pages of output.
Transcript written on texput.log.


This is most likely because function "do_get_node_type_id" in lnodelib.c

does not check the range of the numeric parameter.


Jonathan



More information about the dev-luatex mailing list