[ITP] rebase

Jason Tishler jason@tishler.net
Wed Feb 12 15:12:00 GMT 2003


Ralf,

On Wed, Feb 12, 2003 at 01:48:09PM +0100, Ralf Habacker wrote:
> > Your guard:
> >
> >     (char *)relocp < (char *)relocs + size
> >
> > wasn't tight enough.
> >
> > My version:
> >
> >     (char *)&relocp->SizeOfBlock < (char *)relocs + size
> >
> > seems to be.
> >
> 
> What was the problem with this guard:

To which guard are you referring?  Mine or yours?

> Does it not fix the last entry of a relocation block ?

I'm concerned that my guard might have an off-by-one error and miss the
last entry.  Is there an easy way to check this?

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6



More information about the Cygwin-apps mailing list