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


> 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: Does it not fix the last entry of a
relocation block ?

Ralf



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