z_bytes_serialize_from_str
aliases it's argument which is not clear from function's name
#553
Labels
release
Part of the next release
Describe the release item
The function
actually stores
s
pointer inside createdz_owned_bytes_t
.This raises 2 problems:
s
is ready to be freed. Whenz_owned_bytes_t
is consumed byz_put
for example, there is no guarantee that afterz_put
call thes
is not kept in some queue inside zenoh. So actually this function is useful for static strings onlyThe text was updated successfully, but these errors were encountered: