olavloite / spanner-jdbc

JDBC Driver for Google Cloud Spanner
MIT License
38 stars 10 forks source link

Setting a parameter with an index higher than the current number of parameters could cause an ArrayOutOfBoundsException #112

Closed olavloite closed 5 years ago

olavloite commented 5 years ago

When setting a parameter on a PreparedStatement, the driver could throw an ArrayOutOfBoundsException if the parameter index is larger than 2 times the current number of parameter positions that have already been reserved (the number of reserved positions is an internal implementation detail of the driver).

olavloite commented 5 years ago

Fixed for next version.

olavloite commented 5 years ago

Fix released in version 1.1.1.