freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] parser->root.error ignored


From: Martin Muskens
Subject: [Devel] parser->root.error ignored
Date: Wed, 11 Feb 2004 12:07:53 +0100

Hi all,

 

In t1load.c in the routine parse_encodings this piece of code appears:

 

    

 

 parser->root.error = T1_Add_Table( char_table, charcode,

                                          cur, len + 1 );

 char_table->elements[charcode][len] = '\0';                         <<<<<< check parser->root.error!!!!!!

 if ( parser->root.error )

     return;

 

 

But: If the charcode is too large, T1_Add_Table returns a PSaux_Err_Invalid_Argument;

 

Filling char_table->elements with such an index than is not allowed.

 

 

Best regards

 

Martin Muskens

Aurelon


reply via email to

[Prev in Thread] Current Thread [Next in Thread]