Lubomir Kundrak <[EMAIL PROTECTED]> writes: > EEh.... should actually read > > --- ufs.c.orig 2006-04-10 12:17:10.000000000 +0200 > +++ ufs.c 2006-04-10 12:17:32.000000000 +0200 > @@ -400,7 +400,7 @@ > unsigned int pos = 0; > int dirino; > > - grub_strncpy (fpath, path, grub_strlen (path)); > + grub_strncpy (fpath, path, sizeof (fpath)+);
Why the floating plus? Isn't this wrong? Can you please explain what the patch exactly fixes and why the current code is wrong? Also, please submit a changelog entry. -- Marco _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel