bugThe FreeType Project - Bugs: bug #20782, Incorrect validation of GSUB Type...

 
 

bug #20782: Incorrect validation of GSUB Type 8 and GPOS Type 9 Lookups

Submitted by:  Imran Yousaf <roximn>
Submitted on:  Tue 14 Aug 2007 12:38:15 PM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.3.6

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 18 Aug 2007 06:41:14 AM UTC, comment #1:

Fixed, thanks. Another favour: Please don't use HTML tags
in bug reports which are shown literally in

https://savannah.nongnu.org/bugs/?20782

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Tue 14 Aug 2007 12:38:15 PM UTC, original submission:

The Lookup validator <b>otv_Lookup_validate</b> in file src/otvalid/otvcommn.c, checks the lookup type as
...
...
if ( LookupType == 0 || LookupType <b>>=</b> valid->type_count )
FT_INVALID_DATA; <i>^</i>
... <i>^- should be ">" not ">="</i>
...
while the <b>valid->type_count</b> is set to 8 for GSUB Table & 9 for GPOS Table which are themself valid types.

Imran Yousaf <roximn>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Posted a comment)
  • -unavailable- added by roximn (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 18 Aug 2007 06:41:14 AM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.3.6

    Back to the top


    Powered by Savane 3.1-cleanup1