Opened 12 years ago
Closed 12 years ago
#9217 closed bug (fixed)
BTextView::Select() fails to do Range Checking
Reported by: | AGMS | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Kits/Interface Kit | Version: | R1/alpha4.1 |
Keywords: | BTextView, Select | Cc: | agmsmith@… |
Blocked By: | Blocking: | ||
Platform: | All |
Description
The starting offset isn't properly range checked, which causes crashes when you do something like Select(1000000000, 1000000000) to move the selection point to the end of the text. Works fine in BeOS R5.0.3.
Affects TTAnywhere 3rd party software, and maybe also bug #9066.
Attachments (1)
Change History (3)
by , 12 years ago
Attachment: | 0001-Handle-BTextView-Select-out-of-range-values-better.patch added |
---|
comment:1 by , 12 years ago
patch: | 0 → 1 |
---|
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Applied (an extended version of) the patch in hrev44902 - thanks!
Note:
See TracTickets
for help on using tickets.
Patch to fix the range checking bug.