. In the ReadChunk() function, change an assert() to be a "test for a
condition and return NULL". Take account of the NULL in the
appropriate place (which is somewhat worrisome in itself since
ReadChunk() has always had the possibility of returning NULL).
This makes loading a font file a little more resilient to specially
crafted font data which can be used, for example, by an applet to
crash the browser plugin by triggering the assert(). Such an applet
was mentioned on Bugtraq:
and can be found at
This change stops the browser plugin from crashing.
. Fix some warnings regarding formats in debugging printf's.