Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2009 18:20:04 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-geom@FreeBSD.org
Subject:   Re: kern/131575: commit references a PR
Message-ID:  <200902111820.n1BIK4JT087517@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/131575; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/131575: commit references a PR
Date: Wed, 11 Feb 2009 18:13:35 +0000 (UTC)

 Author: lulf
 Date: Wed Feb 11 18:13:20 2009
 New Revision: 188492
 URL: http://svn.freebsd.org/changeset/base/188492
 
 Log:
   - Use the correct argument when determining the buffer size.
   
   PR:		kern/131575
   MFC after:	2 days
 
 Modified:
   head/sys/geom/label/g_label_msdosfs.c
 
 Modified: head/sys/geom/label/g_label_msdosfs.c
 ==============================================================================
 --- head/sys/geom/label/g_label_msdosfs.c	Wed Feb 11 17:33:36 2009	(r188491)
 +++ head/sys/geom/label/g_label_msdosfs.c	Wed Feb 11 18:13:20 2009	(r188492)
 @@ -186,7 +186,7 @@ g_label_msdosfs_taste(struct g_consumer 
  				    FAT_DES_ATTR_VOLUME_ID) {
  					strlcpy(label, pfat_entry->DIR_Name,
  					    MIN(size,
 -					    sizeof(pfat_bsbpb->BS_VolLab) + 1));
 +					    sizeof(pfat_entry->DIR_Name) + 1));
  					goto endofchecks;
  				}
  			} while((uint8_t *)(++pfat_entry) <
 _______________________________________________
 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-unsubscribe@freebsd.org"
 



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