bugThe FreeType Project - Bugs: bug #16555, Lack of robustness in...

 
 

bug #16555: Lack of robustness in builds/unix/ftsystem.c

Submitted by:  None
Submitted on:  Tue 09 May 2006 10:02:33 PM UTC  
 
Severity: 3 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.2.1

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 10 May 2006 04:46:57 AM UTC, comment #1:

Applied, thanks.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Tue 09 May 2006 10:02:33 PM UTC, original submission:

The function FT_Stream_Open() in builds/unix/ftsystem.c will go into an infinite loop if given an empty, un-mmap()able file.

This turned up when using Firefox under Plash (plash.beasts.org) on Debian/unstable.

Suggest changing:
- if ( ( read_count == -1 ) )
+ if ( ( read_count <= 0 ) )

Found in freetype-2.1.10.

Anonymous

 

(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

 

CC list is empty

 

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 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 10 May 2006 04:50:54 AM UTCwlPlanned Release2.2=>2.2.1
Wed 10 May 2006 04:46:57 AM UTCwlStatusNone=>Fixed
  Assigned toNone=>wl
  Open/ClosedOpen=>Closed
  Planned ReleaseNone=>2.2

Back to the top


Powered by Savane 3.1-cleanup1