You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Olivier Mengué (JIRA)" <ji...@apache.org> on 2010/03/08 11:28:27 UTC

[jira] Updated: (AXIS2C-1439) AIX: axutil_uuid_get_mac_addr() returns NULL => uuid with zeroes

     [ https://issues.apache.org/jira/browse/AXIS2C-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Mengué updated AXIS2C-1439:
-----------------------------------

    Attachment: AXIS2C-1439.1.patch

Here is a partial patch: when the retrieval of the Ethernet MAC address fails it uses instead random data generated using OpenSSL.

> AIX: axutil_uuid_get_mac_addr() returns NULL => uuid with zeroes
> ----------------------------------------------------------------
>
>                 Key: AXIS2C-1439
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1439
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: platforms/unix
>    Affects Versions: 1.6.0, 1.7.0, Current (Nightly)
>         Environment: AIX 5.3
>            Reporter: Olivier Mengué
>         Attachments: AXIS2C-1439.1.patch
>
>
> axutil_uuid_get_mac_addr() return NULL on AIX 5.3.
> The axutil_uuid_get_mac_addr() implementation is the default one (neither HAVE_LINUX_IF_H or HAVE_GETIFADDRS defined).
> Note that the case of axutil_uuid_get_mac_addr() returning NULL is not handled in axutil_uuid_gen_v1(), so invalid memory access occurs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org