eclipse-iceoryx / eclipse-iceoryx/iceoryx

Allow socket-like IPC mechanisms to transfer '\0'

Open
#1,373 1 comment 0 reactions 1 assignee Claimed by @mossmaurice View on GitHub
enhancement
Dominant language
C++
Stars
2.2k
Forks
492
Avg merge
18h 57m
Merged PRs (30d)
1

Description

## Brief feature description

By using [c'tor 5](https://en.cppreference.com/w/cpp/string/basic_string/basic_string) the current implementations cuts off the `std::string` after each '\0'. Sometimes ''\0' need to be transferred, see #1355.

## Detailed information

* Use [c'tor 4](https://en.cppreference.com/w/cpp/string/basic_string/basic_string) which takes an explicit length for the following classes:
* [ ] `UnixDomainSocket`
* [ ] `NamedPipe`
* [ ] `MessageQueue`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.