aws / aws-iot-device-sdk-embedded-C

SDK for connecting to AWS IoT from a device using embedded C.
MIT License
975 stars 623 forks source link

Null reference initialization #1845

Closed rawalexe closed 1 year ago

rawalexe commented 1 year ago

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.

paulbartell commented 1 year ago

There is still an instance of an uninitialized TransportInterface_t in mqtt_demo_subscription_manager.c.