uiTableModelInsertRow() causes invalid rows to be accessed (on windows)
Open
- Dominant language
- C
- Stars
- 10.9k
- Forks
- 612
- PR merge metrics
- No merged PRs in 30d
Description
If uiTableModelInsertRow() is called on an active uiTable, the table will then try to fetch one row more than what the model provides.
If the table already has a lot of content, the invalid fetch won't occur until you scroll right down to bring the last row into view.
Seems to be windows-specific.
example here:
https://github.com/bcampbell/libui/blob/destruc-table/examples/destruc-table/main.c
Contributor guide
Assessment
This issue has not been assessed yet.