PATCH: fix a couple of bounds violations

Neil Booth NeilB@earthling.net
Sun Aug 27 06:27:00 GMT 2000


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.

Neil.


More information about the Gcc-patches mailing list