incubator-celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike van Dongen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CELIX-76) Deployment Admin multiline manifest
Date Wed, 07 Aug 2013 11:25:50 GMT

     [ 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

Mime
View raw message