[ 
https://issues.apache.org/jira/browse/AXIS2C-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803697#action_12803697
 ] 

Olivier Mengué edited comment on AXIS2C-1439 at 1/22/10 1:49 PM:
-----------------------------------------------------------------

The RFC 4122 (which describes UUID) advices to use cryptographic level random 
data instead of MAC address.
http://tools.ietf.org/html/rfc4122#page-15

The Apache Portable Runtime has such an implementation under Apache License 2.0
http://svn.apache.org/repos/asf/apr/apr/trunk/crypto/getuuid.c

      was (Author: dolmen-oxymel):
    The RFC 4122 (which describes UUID) advice to use cryptographic level 
random data instead of MAC address.
http://tools.ietf.org/html/rfc4122#page-15

The Apache Portable Runtime has such an implementation under Apache License 2.0
http://svn.apache.org/repos/asf/apr/apr/trunk/crypto/getuuid.c
  
> 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é
>
> 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.

Reply via email to