bugThe FreeType Project - Bugs: bug #38687, Read past end in hdmx parsing.

 
 

bug #38687: Read past end in hdmx parsing.

Submitted by:  bungeman <bungeman>
Submitted on:  Mon 08 Apr 2013 10:15:46 PM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: InvalidPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 09 Apr 2013 04:42:47 AM UTC, comment #2:

:-) Closed. Do you have a patch for adding a comment which helps people understand the code better?

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Tue 09 Apr 2013 12:33:42 AM UTC, comment #1:

Actually, now that I have some food in me and have uncrossed my eyes, I see that there is no read past the end. The intent of the code is a bit difficult to follow, however. Feel free to close as invalid, since it doesn't seem that I can do so.

bungeman <bungeman>
Mon 08 Apr 2013 10:15:46 PM UTC, original submission:

I haven't actually stepped through it to verify, and I could be going cross eyed, so be sure to verify that this is what was meant. I was reading through the hdmx parsing and it appears that in the current code without the attached patch, tt_face_get_device_metrics can read one past the end of hdmx_record_sizes.

bungeman <bungeman>

 

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

Attach File(s):
   
   
Comment:
   

 

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 bungeman (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
    Tue 09 Apr 2013 04:42:47 AM UTCwlStatusNone=>Invalid
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
    Mon 08 Apr 2013 10:15:46 PM UTCbungemanAttached File-=>Added 0001-Fix-potential-read-past-end-of-array-in-hdmx-code.patch, #27818

    Back to the top


    Powered by Savane 3.1-cleanup1