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

FBWrappingDatasource setRoleName doesn't check if parameter is null and causes an invalid clumplet buffer exception later [JDBC113] #153

Closed
firebird-automations opened this issue Mar 17, 2008 · 3 comments

Comments

@firebird-automations
Copy link

Submitted by: Janos Gerevich (nagypapi)

Assigned to: Roman Rokytskyy (rrokytskyy)

if
FBWrappingDatasource.setRoleName(role);
is called with role=null

getting a connection will throw a:

org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544382. Invalid
clumplet buffer structure: buffer end before end of clumplet -
clumplet too long
Reason: Invalid clumplet buffer structure: buffer end before end of
clumplet - clumplet too long
at
org.firebirdsql.pool.AbstractFBConnectionPoolDataSource.allocateConnection(Abstr\
actFBConnectionPoolDataSource.java:312)

Commits: 4f5ad61

@firebird-automations
Copy link
Author

Modified by: Roman Rokytskyy (rrokytskyy)

Fix Version: Jaybird 2.2 [ 10053 ]

@firebird-automations
Copy link
Author

Commented by: Janos Gerevich (nagypapi)

The same invalid clumplet exception is thrown if the role that is set is an empty String.
I have not checked other, non existent role strings

@firebird-automations
Copy link
Author

Modified by: Roman Rokytskyy (rrokytskyy)

status: Open [ 1 ] => Closed [ 6 ]

resolution: Fixed [ 1 ]

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

1 participant