Ticket #4222 (closed defect: fixed)
fix out of bound read at g_utf8_get_char_validated()
Reported by: | and | Owned by: | andrew_b |
---|---|---|---|
Priority: | major | Milestone: | 4.8.27 |
Component: | mc-search | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | merged | Votes for changeset: | committed-master |
Description
Fix out of bound read at g_utf8_get_char_validated()
because we told g_utf8_get_char_validated() to expect nul-terminated string.
Test case: search for "test" in
https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/linux-firmware-20201218.tar.xz
Attachments
Change History
comment:1 Changed 4 years ago by andrew_b
- Priority changed from minor to major
- Owner set to andrew_b
- Status changed from new to accepted
- Branch state changed from no branch to on review
- Milestone changed from Future Releases to 4.8.27
Branch: 4222_search_segfault
changeset:49394574be869725e428c122d71317679b09b322
comment:3 Changed 4 years ago by andrew_b
- Votes for changeset set to andrew_b
- Branch state changed from on review to approved
comment:4 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: [9436bd1fa419d0198d7ea2c1dab917ed2654f21a].
Note: See
TracTickets for help on using
tickets.