Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 20343 invoked from network); 28 Nov 2006 00:10:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2006 00:10:43 -0000 Received: (qmail 9684 invoked by uid 500); 28 Nov 2006 00:10:43 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 9662 invoked by uid 500); 28 Nov 2006 00:10:43 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 9653 invoked by uid 99); 28 Nov 2006 00:10:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2006 16:10:43 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2006 16:10:33 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id C09731A9846; Mon, 27 Nov 2006 16:09:54 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r479816 - /harmony/enhanced/drlvm/trunk/vm/port/src/misc/win/sysinfo.c Date: Tue, 28 Nov 2006 00:09:54 -0000 To: commits@harmony.apache.org From: gshimansky@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061128000954.C09731A9846@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gshimansky Date: Mon Nov 27 16:09:53 2006 New Revision: 479816 URL: http://svn.apache.org/viewvc?view=rev&rev=479816 Log: Applied HARMONY-2331 [drlvm][port] unitialized name_buf in port_OS_name_version() Tests passed on windows xp, ubuntu and suse 10 x86_64 Modified: harmony/enhanced/drlvm/trunk/vm/port/src/misc/win/sysinfo.c Modified: harmony/enhanced/drlvm/trunk/vm/port/src/misc/win/sysinfo.c URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/port/src/misc/win/sysinfo.c?view=diff&rev=479816&r1=479815&r2=479816 ============================================================================== --- harmony/enhanced/drlvm/trunk/vm/port/src/misc/win/sysinfo.c (original) +++ harmony/enhanced/drlvm/trunk/vm/port/src/misc/win/sysinfo.c Mon Nov 27 16:09:53 2006 @@ -32,7 +32,7 @@ APR_DECLARE(apr_status_t) port_OS_name_version(char** os_name, char** os_ver, apr_pool_t* pool){ - char* name_buf; + char* name_buf = NULL; char* ver_buf; OSVERSIONINFO vi; vi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);