[vim/vim] Fix crash when decrypting (PR #19453)

0 views
Skip to first unread message

Foxe Chen

unread,
Feb 18, 2026, 6:30:13 PM (21 hours ago) Feb 18
to vim/vim, Subscribed

The decrypting code in readfile() in fileio.c does not account for multi byte characters that are split in between successive reads, specifically ones stored in the conv_rest[] array.

Fixes #19425


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/19453

Commit Summary

  • 097262d fix crash when decrypting

File Changes

(4 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19453@github.com>

Foxe Chen

unread,
Feb 18, 2026, 6:39:57 PM (21 hours ago) Feb 18
to vim/vim, Push

@64-bitman pushed 1 commit.

  • 3141550 fix crash when decrypting


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19453/before/097262d95efa9de88a2425922f7885676ebc11dd/after/31415506e4f9692a59782f59cb1cc11366ec53c2@github.com>

Christian Brabandt

unread,
11:51 AM (4 hours ago) 11:51 AM
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19453)

Thanks. Can you move the test file to the samples/ folder?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19453/c3928483661@github.com>

Foxe Chen

unread,
12:45 PM (3 hours ago) 12:45 PM
to vim/vim, Push

@64-bitman pushed 1 commit.

  • 765cd16 fix crash when decrypting

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19453/before/31415506e4f9692a59782f59cb1cc11366ec53c2/after/765cd16c119f8aa519a5b0a86dc1a19728c5a311@github.com>

Foxe Chen

unread,
12:47 PM (3 hours ago) 12:47 PM
to vim/vim, Subscribed
64-bitman left a comment (vim/vim#19453)

Thanks. Can you move the test file to the samples/ folder?

Done


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19453/c3928845083@github.com>

Foxe Chen

unread,
1:16 PM (2 hours ago) 1:16 PM
to vim/vim, Push

@64-bitman pushed 1 commit.

  • c945ff2 fix crash when decrypting

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19453/before/765cd16c119f8aa519a5b0a86dc1a19728c5a311/after/c945ff297b1a2e714e57b4f1f18201511b98492f@github.com>

Foxe Chen

unread,
1:18 PM (2 hours ago) 1:18 PM
to vim/vim, Push

@64-bitman pushed 1 commit.

  • 13cb99b fix crash when decrypting

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19453/before/c945ff297b1a2e714e57b4f1f18201511b98492f/after/13cb99b06756f32f379290ad0cb1f825a0481340@github.com>

Reply all
Reply to author
Forward
0 new messages