paho.mqtt.embedded-c
paho.mqtt.embedded-c copied to clipboard
fix MQTTDeserialize_unsubscribe didn't judge maxcount or may cause memory access violation
an invalid unsubscribe packet in base64 format "rS8BAAABAAAAAAAADGlvdC0wNDBhMDFrcARtcXR0BmlvdGh1YghhbGl5dW5jcwNjbw=="
if set maxcount to 1,and init topicFilters with size 1,*count will bigger than maxcount,topicFilters[*count] cause memory access violation.
We'll also need a UT for validation.