Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send a correct length of a query response #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kwitaszczyk
Copy link

As shown in examples in Section 5.3 from RFC 1205 [0] and Section 15-130 from SC30-3533-04 [1], Client should reply to a Write Structured Field command with Row/Column (2 bytes), AID Code (1 byte) and Structured Field. Structured Field should begin with Length (2 bytes; including the length bytes) followed by data specific to a command.

Note that tn5250j already included the correct length in a comment but still sent 64 instead of 61.

[0] https://datatracker.ietf.org/doc/html/rfc1205
[1] IBM. 5494 Remote Control Unit - Functions Reference. SC30-3533-04

Sponsored by: Fudo Security

As shown in examples in Section 5.3 from RFC 1205 [0] and Section 15-130
from SC30-3533-04 [1], Client should reply to a Write Structured Field
command with Row/Column (2 bytes), AID Code (1 byte) and Structured
Field. Structured Field should begin with Length (2 bytes; including the
length bytes) followed by data specific to a command.

Note that tn5250j already included the correct length in a comment but
still sent 64 instead of 61.

[0] https://datatracker.ietf.org/doc/html/rfc1205
[1] IBM. 5494 Remote Control Unit - Functions Reference. SC30-3533-04

Sponsored by:	Fudo Security
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant