This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITP] rebase


Ralf,

On Mon, Feb 10, 2003 at 08:27:08PM +0100, Ralf Habacker wrote:
> > I can reproduce it now.  I will debug and try to fix it myself.  If
> > I'm unsuccessful, then I will ask Ralf for help.
> >
> Jason, your rebase depends on the ms imagehelp library, isn't it.

Not anymore:

    $ rebase -V
    rebase version 2.1
    Copyright (c) 2001, 2002, 2003 Ralf Habacker and Jason Tishler

We are partners in crime now. :,)

The attached patch solves the SEGV problem.

Your guard:

    (char *)relocp < (char *)relocs + size

wasn't tight enough.

My version:

    (char *)&relocp->SizeOfBlock < (char *)relocs + size

seems to be.

Did I break anything with this patch?

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

Attachment: sections.cc.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]