Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade imbl, eyeball-im, eyeball-im-util to fix bounds check #4583

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

kevinaboos
Copy link
Contributor

A bounds check was recently relaxed in imbl's Focus::narrow() function: jneem/imbl#89, which fixed a bug that would cause a panic if the downstream user of matrix-sdk-ui attempted to narrow a focus of Timeline items using a Range that included the last item in the Timeline. Example: project-robius/robrix#330

This fix has been incorporated in eyeball-im and eyeball-im-util and has been tested by me in Robrix to no longer trigger upon the aforementioned conditions.

Signed-off-by: Kevin Boos [email protected]

A bounds check was recently relaxed in `imbl`'s `Focus::narrow()`
function: jneem/imbl#89,
which fixed a bug that would cause a panic if the downstream user
of `matrix-sdk-ui` attempted to narrow a focus of Timeline items
using a range that included the last item in the Timeline.
Example: project-robius/robrix#330

This fix has been incorporated in `eyeball-im` and `eyeball-im-util`
and has been tested by me to no longer trigger upon the aforementioned
conditions.
@kevinaboos kevinaboos requested a review from a team as a code owner January 25, 2025 00:19
@kevinaboos kevinaboos requested review from jmartinesp and removed request for a team January 25, 2025 00:19
Copy link

codecov bot commented Jan 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.41%. Comparing base (87983ab) to head (62ba64c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4583      +/-   ##
==========================================
- Coverage   85.41%   85.41%   -0.01%     
==========================================
  Files         286      286              
  Lines       32213    32213              
==========================================
- Hits        27516    27515       -1     
- Misses       4697     4698       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jplatte jplatte merged commit 756dec2 into matrix-org:main Jan 25, 2025
41 checks passed
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