Skip to content

[6.2.x] Limit platform details to a reasonable length (#2088)#2094

Merged
cshannon merged 1 commit into
apache:activemq-6.2.xfrom
cshannon:backport-2088-6.2.x
Jun 8, 2026
Merged

[6.2.x] Limit platform details to a reasonable length (#2088)#2094
cshannon merged 1 commit into
apache:activemq-6.2.xfrom
cshannon:backport-2088-6.2.x

Conversation

@cshannon

@cshannon cshannon commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Now that #2083 limits value sizes for properties inside of WireFormatInfo we should add a check to make sure platform details do not go past that limit. Limit has been set to 512 bytes as that should be more than enough as the details are usually less than half that. This is not turned of by default but if someone is using it this will prevent potential future problems for too large a value.

(cherry picked from commit 60af386)

Now that apache#2083 limits value sizes for properties inside of
WireFormatInfo we should add a check to make sure platform details do
not go past that limit. Limit has been set to 512 bytes as that should
be more than enough as the details are usually less than half that.
This is not turned of by default but if someone is using it this will
prevent potential future problems for too large a value.

(cherry picked from commit 60af386)
@cshannon cshannon self-assigned this Jun 8, 2026
@cshannon cshannon changed the title Limit platform details to a reasonable length (#2088) [6.2.x] Limit platform details to a reasonable length (#2088) Jun 8, 2026
@cshannon cshannon merged commit b27f292 into apache:activemq-6.2.x Jun 8, 2026
3 of 4 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Apache ActiveMQ v6.2.7 Jun 8, 2026
@cshannon cshannon deleted the backport-2088-6.2.x branch June 8, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

1 participant