Menu

#133 StringIndexOutOfBoundsException while preparing a stored procedure call

v1.3
open
nobody
None
1
2015-02-13
2015-02-13
No

A StringIndexOutOfBoundsException occurred while running the existing CallableStatementTest.testCallableStatementExec8 test after it was modified to run against Sybase. The problem was due to misplaced parentheses in the JtdsPreparedSatement.normalize() method where a length check only applied to one out of two conditions when it should have applied to both.

The patch is attached and can also be found at https://gist.github.com/davidbryant/b23984a2d3b94725227f.

1 Attachments

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.