Skip to content

Conversation

@craigcomstock
Copy link
Contributor

If a symlink resolves to a path that is longer than the maximum allowed by the protocol, currently 4088 bytes, then an error response is generated.

Previously the server side would ignore an error from SendTransaction() due to the large size and the client-side would hang/timeout waiting for a response.

Ticket: ENT-13542
Changelog: title
(cherry picked from commit 90220ca)

If a symlink resolves to a path that is longer than the maximum allowed by the protocol, currently 4088 bytes, then an error response is generated.

Previously the server side would ignore an error from SendTransaction() due to the large size and the client-side would hang/timeout waiting for a response.

Ticket: ENT-13542
Changelog: title
(cherry picked from commit 90220ca)
@craigcomstock craigcomstock changed the title Fixed length checking in StatFile Fixed length checking in StatFile (3.24) Nov 25, 2025
@craigcomstock craigcomstock merged commit e97b5b1 into cfengine:3.24.x Nov 25, 2025
9 checks passed
@craigcomstock craigcomstock deleted the ent-13542/3.24 branch November 25, 2025 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant