Skip to content

io/object/RecordSet data handling fixes#417

Merged
mondain merged 1 commit intoRed5:mainfrom
kdkd:cherry-pick-287e8d1-20251126-135340
Nov 26, 2025
Merged

io/object/RecordSet data handling fixes#417
mondain merged 1 commit intoRed5:mainfrom
kdkd:cherry-pick-287e8d1-20251126-135340

Conversation

@kdkd
Copy link
Copy Markdown

@kdkd kdkd commented Nov 26, 2025

Commit from kdkd fork 287e8d1

io/object/RecordSet.java:

data is only sized by capacity, not populated; accesses like data.get(index)
and data.get(start + i) happen before the list is grown for those
positions. Any getItemAt request beyond the initially provided page
will throw IndexOutOfBoundsException, even for valid indexes inside
totalCount, preventing paging from ever working.


data is only sized by capacity, not populated; accesses like data.get(index)
and data.get(start + i) happen before the list is grown for those
positions.  Any getItemAt request beyond the initially provided page
will throw IndexOutOfBoundsException, even for valid indexes inside
totalCount, preventing paging from ever working.
@mondain mondain merged commit 3d26c57 into Red5:main Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants