Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2012 07:45:15 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r230529 - head/usr.sbin/makefs
Message-ID:  <201201250745.q0P7jFYG013094@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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++;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201250745.q0P7jFYG013094>