Fix Zigbee cluster specific command decoding with uninitialized values (#25124)

Regression from ab38e799a. A GetGroup response could report a huge group
count and stall the device building the group list.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
LesNewellandClaude Opus 5.5 authored and GitHub committed 2026-10-11 16:55:33 +02:00
1 parent 24e00fc33c
commit bf2afdc7f1
1 file changed
+1 -1
@@ -342,7 +342,7 @@ void parseXYZ(const char *model, const SBuffer &payload, struct Z_XYZ_Var *xyz)
void convertClusterSpecific(class Z_attribute_list &attr_list, uint16_t cluster, uint8_t cmd, bool direction, uint16_t shortaddr, uint8_t srcendpoint, const SBuffer &payload) {
const char * command_name = nullptr;
uint8_t conv_direction;
Z_XYZ_Var xyz;
Z_XYZ_Var xyz = {};
// always report attribute in raw format
// Format: "0001!06": "00" = "<cluster>!<cmd>": "<payload>" for commands to devices