celix icon indicating copy to clipboard operation
celix copied to clipboard

pubsubProtocol_encodeMetadata potential NULL dereference

Open Oipo opened this issue 5 years ago • 0 comments

https://github.com/apache/celix/blob/master/bundles/pubsub/pubsub_protocol/pubsub_protocol_lib/src/pubsub_wire_protocol_common.c#L196

Line refers to wrong variable, but so far all code usages either put NULL for both out arguments or non-NULL for both. Hence never triggering the NULL dereference.

Oipo avatar Nov 16 '20 13:11 Oipo