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 "Bill Blough (Jira)" <ji...@apache.org> on 2020/04/07 16:40:00 UTC

[jira] [Updated] (AXIS2C-1446) axutil_hash_copy() issues

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

Bill Blough updated AXIS2C-1446:
--------------------------------
    Fix Version/s: 1.7.0

> axutil_hash_copy() issues
> -------------------------
>
>                 Key: AXIS2C-1446
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1446
>             Project: Axis2-C
>          Issue Type: Wish
>          Components: util
>    Affects Versions: 1.6.0, Current (Nightly)
>            Reporter: Olivier Mengué
>            Priority: Trivial
>             Fix For: 1.7.0
>
>
> The axutil_hash_copy() function in util/hash.c has several issues:
> - it should be documented that it should be used only read only and not freed with axutil_hash_free() but instead with AXIS2_FREE().
> - the allocated structure is one block, but may not respect alignment rules of the platform.
> In its current state, its usage is discouraged.
> Currently (1.6.0) it is not used in the code base, so that is a minor problem.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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