Skip to content

Fixed an UB in client_bases/smacc_subscriber_client.hpp#635

Merged
brettpac merged 2 commits intorobosoft-ai:humblefrom
onionsflying:patch-1
Nov 2, 2025
Merged

Fixed an UB in client_bases/smacc_subscriber_client.hpp#635
brettpac merged 2 commits intorobosoft-ai:humblefrom
onionsflying:patch-1

Conversation

@onionsflying
Copy link
Contributor

Updated the SmaccSubscriberClient(std::string topicname) constructor to explicitly initialize initialized_ to false, matching the default constructor's behavior.

@brettpac
Copy link
Collaborator

brettpac commented Nov 2, 2025

@onionsflying, thanks for a nice catch.

@brettpac brettpac merged commit 8229ed7 into robosoft-ai:humble Nov 2, 2025
5 checks passed
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.

2 participants