[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] subrs length checking
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] subrs length checking |
Date: |
Sat, 10 May 2008 07:04:11 +0200 (CEST) |
> > but it has always worked in the past (probably the Subr is never
> > called). Is it sensible to cover this as a special case by
> > relaxing the check to be < rather than <= ?
>
> I introduced this as a security check; malformed Type 1 fonts can
> crash FreeType otherwise. Looking at the code lines which follow I
> think `<=' is necessary.
Ah, sorry, I checked too fast. Yes, it seems as if `<' would be
possible. I still need the font to test that...
Werner