[vim/vim] Fix buf_check_timestamp heap UAF (PR #19317)

1 view
Skip to first unread message

Sean Dewar

unread,
8:09 AM (12 hours ago) 8:09 AM
to vim/vim, Subscribed

Problem: heap UAF if autocommands from reloading a file changed outside of Vim wipe its buffer.

Solution: validate the bufref after buf_reload.


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

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

Commit Summary

  • 63282bd Fix buf_check_timestamp heap UAF

File Changes

(2 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/19317@github.com>

Sean Dewar

unread,
8:11 AM (12 hours ago) 8:11 AM
to vim/vim, Push

@seandewar pushed 1 commit.

  • 7966571 Fix buf_check_timestamp heap UAF


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19317/before/63282bd90c1811e0a730db3e2a80bc06c3dee206/after/7966571809ae45dd64cc8513c15fc4baa397ef7b@github.com>

Sean Dewar

unread,
8:33 AM (11 hours ago) 8:33 AM
to vim/vim, Push

@seandewar pushed 1 commit.

  • 97ca062 Fix buf_check_timestamp heap UAF

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19317/before/7966571809ae45dd64cc8513c15fc4baa397ef7b/after/97ca06257a3e07527655d5b68533da063a7de1c4@github.com>

Sean Dewar

unread,
8:34 AM (11 hours ago) 8:34 AM
to vim/vim, Push

@seandewar pushed 1 commit.

  • 180e707 Fix buf_check_timestamp heap UAF

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19317/before/97ca06257a3e07527655d5b68533da063a7de1c4/after/180e70780f13de8ebf2301991a3dd0052cb05a22@github.com>

Sean Dewar

unread,
8:52 AM (11 hours ago) 8:52 AM
to vim/vim, Push

@seandewar pushed 1 commit.

  • 52d6911 Fix buf_check_timestamp heap UAF

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19317/before/180e70780f13de8ebf2301991a3dd0052cb05a22/after/52d691151fddf89cc5608f82daf78f10a05788bd@github.com>

Sean Dewar

unread,
9:18 AM (11 hours ago) 9:18 AM
to vim/vim, Push

@seandewar pushed 1 commit.

  • 58f6ae1 Fix buf_check_timestamp heap UAF

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19317/before/52d691151fddf89cc5608f82daf78f10a05788bd/after/58f6ae1dda208bdb07c2a9dcd462eff82b8d08e6@github.com>

Reply all
Reply to author
Forward
0 new messages