-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 9
-
Component/s: core-libs
-
b21
The `jdk.httpclient.bufsize` system property[1] is used by `HttpClient` through the `jdk.internal.net.http.common.Utils#BUFSIZE` constant. The user-provided value is not validated (e.g., negative values are accepted) and, as hinted by [~dfuchs], can be clamped[2].
[1]: https://docs.oracle.com/en/java/javase/25/docs/api/java.net.http/module-summary.html
[2]: https://github.com/openjdk/jdk/pull/26876/files#r2333555522
[1]: https://docs.oracle.com/en/java/javase/25/docs/api/java.net.http/module-summary.html
[2]: https://github.com/openjdk/jdk/pull/26876/files#r2333555522
- links to
-
Commit(master)
openjdk/jdk/cbbb0a86
-
Review(master)
openjdk/jdk/27874