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:24:21 UTC

[jira] Created: (HARMONY-2331) [drlvm][port] unitialized name_buf in port_OS_name_version()

[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


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

        

[jira] Updated: (HARMONY-2331) [drlvm][port] unitialized name_buf in port_OS_name_version()

Posted by "Salikh Zakirov (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] Assigned: (HARMONY-2331) [drlvm][port] unitialized name_buf in port_OS_name_version()

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2331?page=all ]

Gregory Shimansky reassigned HARMONY-2331:
------------------------------------------

    Assignee: Gregory Shimansky

> [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
>         Assigned To: Gregory Shimansky
>            Priority: Trivial
>         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

        

[jira] Updated: (HARMONY-2331) [drlvm][port] unitialized name_buf in port_OS_name_version()

Posted by "Salikh Zakirov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2331?page=all ]

Salikh Zakirov updated HARMONY-2331:
------------------------------------

    Priority: Trivial  (was: Major)

> [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
>            Priority: Trivial
>         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

        

[jira] Closed: (HARMONY-2331) [drlvm][port] unitialized name_buf in port_OS_name_version()

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2331?page=all ]

Gregory Shimansky closed HARMONY-2331.
--------------------------------------

    Resolution: Fixed

Patch applied at 479816.

> [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
>         Assigned To: Gregory Shimansky
>            Priority: Trivial
>         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