Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Aug 2011 05:30:17 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/152549: commit references a PR
Message-ID:  <201108080530.p785UHaJ032373@freefall.freebsd.org>

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@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@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?201108080530.p785UHaJ032373>