bin/152549: commit references a PR

dfilter service dfilter at FreeBSD.ORG
Mon Aug 8 05:30:17 UTC 2011


The following reply was made to PR bin/152549; it has been noted by GNATS.

From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: bin/152549: commit references a PR
Date: Mon,  8 Aug 2011 05:22:19 +0000 (UTC)

 Author: kevlo
 Date: Mon Aug  8 05:22:09 2011
 New Revision: 224702
 URL: http://svn.freebsd.org/changeset/base/224702
 
 Log:
   catstrg() does not set the resulting string length.
   
   PR:	bin/152549
   Submitted by:	Henning Petersen <henning dot petersen at t-online dot de>
   Approved by:	re (hrs)
 
 Modified:
   head/usr.bin/xlint/lint1/tree.c
 
 Modified: head/usr.bin/xlint/lint1/tree.c
 ==============================================================================
 --- head/usr.bin/xlint/lint1/tree.c	Mon Aug  8 03:09:03 2011	(r224701)
 +++ head/usr.bin/xlint/lint1/tree.c	Mon Aug  8 05:22:09 2011	(r224702)
 @@ -3786,6 +3786,7 @@ catstrg(strg_t *strg1, strg_t *strg2)
  			     (len2 + 1) * sizeof (wchar_t));
  		free(strg2->st_wcp);
  	}
 +	strg1->st_len = len;
  	free(strg2);
  
  	return (strg1);
 _______________________________________________
 svn-src-all at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
 


More information about the freebsd-bugs mailing list