The following reply was made to PR bin/152549; it has been noted by GNATS. From: [email protected] (dfilter service) To: [email protected] 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); _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]" _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
