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

expando: fix attach search #4232

Merged
merged 1 commit into from
Apr 2, 2024
Merged

expando: fix attach search #4232

merged 1 commit into from
Apr 2, 2024

Conversation

flatcap
Copy link
Member

@flatcap flatcap commented Apr 2, 2024

Searching Attachments falls back to the default Menu search.
Menu search runs make_entry() on each row, giving it plenty of space.

Unfortunately, INT_MAX amount of space combined with padding led to some enormous strings.

Limit the space to 8KiB.

Fixes: #4231

Searching Attachments falls back to the default Menu search.
Menu search runs `make_entry()` on each row, giving it plenty of space.

Unfortunately, INT_MAX amount of space combined with padding led to some
enormous strings.
@flatcap flatcap added the type:bug Bug label Apr 2, 2024
@flatcap flatcap self-assigned this Apr 2, 2024
@flatcap flatcap requested a review from a team as a code owner April 2, 2024 10:52
@flatcap flatcap merged commit 225e26a into main Apr 2, 2024
16 checks passed
@flatcap flatcap deleted the devel/attach branch April 2, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can no longer search on "Attachments" menu
1 participant