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

DatabaseParameterBuffer has a bug [DNET248] #256

Closed
firebird-automations opened this issue Jul 4, 2009 · 2 comments
Closed

DatabaseParameterBuffer has a bug [DNET248] #256

firebird-automations opened this issue Jul 4, 2009 · 2 comments

Comments

@firebird-automations
Copy link

Submitted by: @cincuranet

Jira_subtask_inward DNET247

Votes: 1

class DatabaseParameterBuffer has a bug in method
public void Append(int type, byte value)
{
this.WriteByte(type);
this.WriteByte(1);
this.Write(value); //this is a bug
}
this method writes 4 bytes instead of 3 because the base class ParameterBuffer has no Write(byte) overload so Write(short) is used

Commits: f528441

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Interesting, nothing fails. :)

Fixed.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.5.2 [ 10370 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants