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

Fix ToAnsi method : bufferoverflow #178

Merged
merged 2 commits into from
Dec 15, 2020

Conversation

JohannaMillet
Copy link

ToAnsi metod in EipProtocolLogic throws Bufferoverflow exception for tags that have more than one '.' in it.
Fixed by increased allocated data in Buffer.

@ottobackwards
Copy link
Contributor

Thanks for the contribution.
Is there a way you can write a unit test for this issue?

@chrisdutz
Copy link
Contributor

Hi Johanna,

sorry for me picking this up so late ... I just had a look ... your code changes generally look good, and I'm not going to insist on tests as in that case I would have to reject most of my stuff to ;-)

Does the driver work with your changes? Are you able to read with multiple "." in them? I'm asking this stupid questions as I don't know the protocol and want to understand if this just makes the Execption go away.

Chris

@chrisdutz chrisdutz merged commit 2e9c592 into apache:develop Dec 15, 2020
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

4 participants