-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null reference initialization #1845
Conversation
@@ -22,7 +22,7 @@ list(APPEND PKCS_SOURCES | |||
) | |||
|
|||
# CPP files are searched for supporting CI build checks that verify C++ linkage of the Fleet Provisioning library |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment makes zero sense.
@@ -22,7 +22,7 @@ list(APPEND PKCS_SOURCES | |||
) | |||
|
|||
# CPP files are searched for supporting CI build checks that verify C++ linkage of the Fleet Provisioning library | |||
file( GLOB DEMO_SRCS "*.c*" ) | |||
file( GLOB DEMO_SRCS "mqtt_operations.c" "*.c*" ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should stop using globs and just list the files for improved clarity.
There is still an instance of an uninitialized TransportInterface_t in mqtt_demo_subscription_manager.c. |
Issue #, if available:
segmentation fault on shadow demo #1843
Description of changes:
Initializes the uninitialized TransportInterface_t transport variable to prevent seg fault.
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.