Author: hrs
Date: Wed Jan 25 07:45:15 2012
New Revision: 230529
URL: http://svn.freebsd.org/changeset/base/230529

Log:
  Fix a SIGSEGV problem in directory entry renaming.

Modified:
  head/usr.sbin/makefs/cd9660.c

Modified: head/usr.sbin/makefs/cd9660.c
==============================================================================
--- head/usr.sbin/makefs/cd9660.c       Wed Jan 25 07:14:23 2012        
(r230528)
+++ head/usr.sbin/makefs/cd9660.c       Wed Jan 25 07:45:15 2012        
(r230529)
@@ -1086,6 +1086,8 @@ cd9660_rename_filename(cd9660node *iter,
                */
 
                while (count < maxlength) {
+                       if (*naming == ';')
+                               break;
                        naming++;
                        count++;
                }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to