Ticket #3579 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

[PATCH] fix buffer overflow at edit_get_bracket()

Reported by: and Owned by: andrew_b
Priority: major Milestone: 4.8.16
Component: mcedit Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

testcase:
create file with byte 0x28 and byte 0x00 -> open in mcedit -> move cursors

found by Clang/AddressSanitizer?

Signed-off-by: Andreas Mohr <and@…>

Attachments

mc-3579-fix-buffer-overflow-at-edit_get_bracket.patch (3.9 KB) - added by and 4 years ago.

Change History

comment:1 Changed 4 years ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted
  • Votes for changeset set to andrew_b
  • Component changed from mc-core to mcedit
  • Branch state changed from no branch to on review

Branch: 3579_mcedit_buffer_overflow
Initial changeset:6dad88df1c1e46e572f6feaee4424482c605d9aa

comment:2 Changed 4 years ago by andrew_b

  • Branch state changed from on review to approved

comment:3 Changed 4 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from andrew_b to committed-master
  • Resolution set to fixed
  • Branch state changed from approved to merged

Merged to master: [34684939682ee5a9bbf31275775f44e4e83cc4e8].

git log --pretty=oneline 221c75c..3468493

comment:4 Changed 4 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.