Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 266ed61b30e89c2840b7967a8af7ac8ab86407ff
https://github.com/pgjdbc/pgjdbc/commit/266ed61b30e89c2840b7967a8af7ac8ab86407ff Author: zapov <rikard@ngs.hr> Date:
2017-10-24(Tue, 24 Oct 2017)
Changed paths: M pgjdbc/src/main/java/org/postgresql/core/Utils.java M
pgjdbc/src/main/java/org/postgresql/core/v3/SimpleParameterList.java A
pgjdbc/src/test/java/org/postgresql/test/jdbc4/LogTest.java
Log Message: ----------- fix: avoid integer overflow when sending large arguments (#946)
If an argument is larger than 200MB it would overflow during escaping due to optimistic size estimation.
Change size estimation so it works for even larger arguments until StringBuilder crashes with negative size error.
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.