No problem. If only everything would be that easy to fix.

On! 02/11/2015 04:10 PM, Alexander Broekhuis wrote:
Whoops, that is done in one of my commits while removing APR.

Thanks for noticing and fixing.

2015-02-11 16:08 GMT+01:00 <[email protected]>:

Author: bpetri
Date: Wed Feb 11 15:08:14 2015
New Revision: 1658980

URL: http://svn.apache.org/r1658980
Log:

CELIX-221: wrongly calulated string fixed


Modified:
     celix/trunk/deployment_admin/private/src/deployment_admin.c

Modified: celix/trunk/deployment_admin/private/src/deployment_admin.c
URL:
http://svn.apache.org/viewvc/celix/trunk/deployment_admin/private/src/deployment_admin.c?rev=1658980&r1=1658979&r2=1658980&view=diff

==============================================================================
--- celix/trunk/deployment_admin/private/src/deployment_admin.c (original)
+++ celix/trunk/deployment_admin/private/src/deployment_admin.c Wed Feb 11
15:08:14 2015
@@ -249,7 +249,7 @@ static void *deploymentAdmin_poll(void *

                                         // TODO: update to use bundle
cache DataFile instead of module entries.

unzip_extractDeploymentPackage(inputFilename, tmpDir);
-                                       int length = strlen(tmpDir + 22);
+                                       int length = strlen(tmpDir) + 22;
                                         char manifest[length];
                                         snprintf(manifest, length,
"%s/META-INF/MANIFEST.MF", tmpDir);
                                         manifest_pt mf = NULL;





Reply via email to