[luatex] Bug: Null-byte in csname not handled correctly

Henri Menke henri at henrimenke.de
Mon Apr 11 20:15:57 CEST 2022


Dear devs,

A control sequence that only contains a single null byte is not
correctly stringified. Comparison between Knuth TeX and LuaTeX:

   $ tex test.tex
   ! \^^@.
   l.2 \errmessage{\string\^^@}
   
   $ luatex test.tex
   ! \.
   l.2 \errmessage{\string\^^@}

MWE:

   \catcode0=11
   \errmessage{\string\^^@}
   \bye

Cheers,
Henri


More information about the luatex mailing list.