Skip to content

Commit 21a6e1d

Browse files
committed
Ensure we don't reply to GET LIST_TAGS with extra data
1 parent 1bc0002 commit 21a6e1d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

common/rdm/ResponderHelper.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,6 +1076,10 @@ RDMResponse *ResponderHelper::GetListTags(
10761076
const RDMRequest *request,
10771077
const TagSet *tag_set,
10781078
uint8_t queued_message_count) {
1079+
if (request->ParamDataSize()) {
1080+
return NackWithReason(request, NR_FORMAT_ERROR, queued_message_count);
1081+
}
1082+
10791083
uint8_t tags[(MAX_RDM_STRING_LENGTH + 1) * tag_set->Size()];
10801084
unsigned int pdl = sizeof(tags);
10811085

0 commit comments

Comments
 (0)