PATCH: fix a couple of bounds violations
Sun Aug 27 10:31:00 GMT 2000
On Sun, Aug 27, 2000 at 02:27:51PM +0100, Neil Booth wrote:
> Greg McGary wrote:-
> > - if (namebuf[-1] == '\\')
> > + if (namebuf > list->namebuf && namebuf[-1] == '\\')
> This bit's my bug and is the correct fix, but I can't authorise you to
> commit it <g>. It probably comes under the "obvious" rule, though.
I'll approve it, but do you have a test case?
More information about the Gcc-patches