eclipse / tahu

Eclipse Tahu addresses the existence of legacy SCADA/DCS/ICS protocols and infrastructures and provides a much-needed definition of how best to apply MQTT into these existing industrial operational environments.

Home Page:https://eclipse.org/tahu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python string array unpacking bug

rosstitmarsh opened this issue · comments

This is a bug in Python client library.

The packing function for string arrays does what the spec says, terminate each string with a null byte and concatenate.

However the unpacking funtion is incorrect, it treats the null byte as a delimiter resulting an array with an extra empty string at the end.