You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Salikh Zakirov (JIRA)" <ji...@apache.org> on 2006/11/27 12:26:22 UTC
[jira] Updated: (HARMONY-2331) [drlvm][port] unitialized name_buf
in port_OS_name_version()
[ http://issues.apache.org/jira/browse/HARMONY-2331?page=all ]
Salikh Zakirov updated HARMONY-2331:
------------------------------------
Attachment: uninitialized-name-buf.patch
uninitialized-name-buf.patch: initialize name_buf with NULL to avoid a segfault on unknown windows versions.
> [drlvm][port] unitialized name_buf in port_OS_name_version()
> ------------------------------------------------------------
>
> Key: HARMONY-2331
> URL: http://issues.apache.org/jira/browse/HARMONY-2331
> Project: Harmony
> Issue Type: Bug
> Environment: Windows vista
> Reporter: Salikh Zakirov
> Attachments: uninitialized-name-buf.patch
>
>
> The variable name_buf in function port_OS_name_version() is not initialized initially,
> but assumed to be NULL later in check
> vm/port/src/misc/win/sysinfo.c:
> 76 if (!name_buf) name_buf = "Windows";
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira