buggins / coolreader

Official site of CoolReader project. Sourceforge repository is obsolete.
GNU General Public License v2.0
386 stars 101 forks source link

xml parser: correct recognition of long named character references #287

Closed ourairquality closed 3 years ago

ourairquality commented 3 years ago

Increase the buffer size for recognition of named character references to handle all those expected to be recognised. The longest name in the def_entity_table[] appears to be "CounterClockwiseContourIntegral" so including a trailing null a buffer size of 32 is needed.