[BusyBox] bug#1205: BusyBox] bug#1205: mount handles links differently in 0.60

Matt Kraai kraai at alumni.carnegiemellon.edu
Tue Aug 7 09:45:02 UTC 2001


On Tue, Aug 07, 2001 at 07:06:22PM +0400, Vladimir N. Oleynik wrote:
> > Thanks for the testing.  The problem was a consequence of my last
> > minute attempt to strip trailing /s.  I believe that the following
> > patch doesn't have this problem.
> > 
> > As for your patch, it appears to mishandle `foo..'.  Could you
> > submit a fixed version so that we can compare again?
> 
> Oops, Source my new version:

I don't think your code is legal.  According to the strcpy(3)
manpage, the source and destination strings may not overlap.  Your
use of strcpy(3) to cut characters from the string violates this
restriction.

Matt






More information about the busybox mailing list