pnoltes commented on code in PR #691:
URL: https://github.com/apache/celix/pull/691#discussion_r1408143026


##########
libs/dfi/src/dyn_function.c:
##########
@@ -93,7 +93,7 @@ int dynFunction_parse(FILE *descriptor, struct types_head 
*refTypes, dyn_functio
 
 int dynFunction_parseWithStr(const char *descriptor, struct types_head 
*refTypes, dyn_function_type **out)  {
     int status = OK;
-    FILE *stream = fmemopen((char *)descriptor, strlen(descriptor), "r");
+    FILE *stream = fmemopen((char *)descriptor, strlen(descriptor) + 1, "r");

Review Comment:
   yes, nice catch



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to