You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Mike van Dongen (JIRA)" <ji...@apache.org> on 2013/08/07 13:25:50 UTC

[jira] [Updated] (CELIX-76) Deployment Admin multiline manifest

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

Mike van Dongen updated CELIX-76:
---------------------------------

    Attachment: deployment_admin_manifest_multiline.patch

Using 'realloc' on an apr_palloc'd memory seems to result in a segfault.
Also, making the new memory start with a NULL byte seems to fix a segfault aswell.

There is another realloc in the file manifest.c, I haven't tested if that one does work.
                
> Deployment Admin multiline manifest
> -----------------------------------
>
>                 Key: CELIX-76
>                 URL: https://issues.apache.org/jira/browse/CELIX-76
>             Project: Celix
>          Issue Type: Bug
>            Reporter: Mike van Dongen
>         Attachments: deployment_admin_manifest_multiline.patch
>
>
> The manifest parser in the Deployment Admin gets a segmentation fault when a value in the manifest is spread over more than 2 lines.
> Apache ACE returns a manifest containing the "ACE-RepositoryPath", which in my case was 4 lines long.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira