[Bug 66575] Use of ByteBuffer.array() not guarded by hasArray()

2023-04-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66575 Remy Maucherat changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug 66575] Use of ByteBuffer.array() not guarded by hasArray()

2023-04-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66575 --- Comment #5 from Remy Maucherat --- (In reply to Christopher Schultz from comment #4) > Can you submit a PR with a unit test using e.g. a read-only ByteBuffer and > your proposed change? I think I'll do it. -- You are receiving this mail

[Bug 66575] Use of ByteBuffer.array() not guarded by hasArray()

2023-04-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66575 --- Comment #4 from Christopher Schultz --- Can you submit a PR with a unit test using e.g. a read-only ByteBuffer and your proposed change? -- You are receiving this mail because: You are the assignee for the bug. ---

[Bug 66575] Use of ByteBuffer.array() not guarded by hasArray()

2023-04-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66575 --- Comment #3 from Mark Koszykowski --- In the specific example of the `PerMessageDeflate`, the issue of the ReadOnlyException can seemingly be resolved by instead using the `setInput​(ByteBuffer input)` method on the uncompressedPayload in `

[Bug 66575] Use of ByteBuffer.array() not guarded by hasArray()

2023-04-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66575 Simon Baslé changed: What|Removed |Added Status|NEEDINFO|NEW --- Comment #2 from Simon Baslé ---

[Bug 66575] Use of ByteBuffer.array() not guarded by hasArray()

2023-04-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66575 Remy Maucherat changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #1 from Remy Mau