Skip to content

Fix segfault in NTNDArrayConverterPvxs::fromStringAttribute - #614

Open
pgap wants to merge 1 commit into
areaDetector:masterfrom
pgap:ndpluginpvxs-fix
Open

pgap wants to merge 1 commit into
areaDetector:masterfrom
pgap:ndpluginpvxs-fix

Conversation

@pgap

@pgap pgap commented Oct 28, 2026

Copy link
Copy Markdown

A stack char* pointer is overwritten by the string data.

Use the std::string overload of NDAttribute::getValue to copy the string instead.

Fixes #613

A stack char* pointer is overwritten by the string data.
Use the std::string overload of NDAttribute::getValue instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Segmentation fault in NDPluginPvxs when an NDArray has string attributes

1 participant